This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
73 lines (59 loc) · 1.92 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copyright (C) 2010 by Florent Lamiraux, Thomas Moulard, CNRS.
#
# This file is part of the dev-tools.
#
# dev-tools is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# dev-tools is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with dev-tools. If not, see <http://www.gnu.org/licenses/>.
# Don't expend macros beginning by JRL_.
m4_pattern_forbid([^JRL_])
AC_PREREQ([2.63])
## --------------------- ##
## Package configuration ##
## --------------------- ##
AC_INIT([dev-tools],
[m4_esyscmd(build-aux/git-version-gen .tarball-version)],
[dev-tools])
# Auxiliary files.
AC_CONFIG_AUX_DIR([template-project/autotools/build-aux])
# Macros are stored in build-aux.
AC_CONFIG_MACRO_DIR([template-project/autotools/build-aux])
# Automake.
AM_INIT_AUTOMAKE([1.9.6 dist-bzip2 -Wall nostdinc foreign])
## ------------------- ##
## Additionnal tools. ##
## ------------------- ##
# Search for misc. common tools.
AC_PROG_MKDIR_P
AC_PROG_SED
## ------------ ##
## Test-suite. ##
## ------------ ##
AC_CONFIG_TESTDIR([tests])
AM_MISSING_PROG([AUTOM4TE], [autom4te])
## -------------- ##
## Write output. ##
## -------------- ##
# Create Makefiles.
AC_CONFIG_FILES([
Makefile
tests/Makefile
tests/atlocal
tests/package.m4
])
# Generate shell scripts.
AC_CONFIG_FILES([package-create], [chmod +x package-create])
AC_CONFIG_FILES([package-create-local], [chmod +x package-create-local])
AC_CONFIG_FILES([package-dep], [chmod +x package-dep])
# Write files.
AC_OUTPUT