1 # the package version must match the macros in ucx.h |
1 # the package version must match the macros in ucx.h |
2 # if you change the package version, don't forget to adjust the library version |
2 # if you change the package version, don't forget to adjust the library version |
3 AC_INIT([ucx], [0.14], [olaf.wintermann@gmail.com]) |
3 AC_INIT([ucx], [0.14], [olaf.wintermann@gmail.com]) |
|
4 |
|
5 # don't place everything in the project root |
4 AC_CONFIG_AUX_DIR([build-aux]) |
6 AC_CONFIG_AUX_DIR([build-aux]) |
5 AC_CONFIG_MACRO_DIR([m4]) |
7 AC_CONFIG_MACRO_DIR([m4]) |
|
8 |
|
9 # we use our own directory structure |
6 AM_INIT_AUTOMAKE([foreign -Wall -Werror]) |
10 AM_INIT_AUTOMAKE([foreign -Wall -Werror]) |
|
11 |
|
12 # if there is an archiver, use it |
7 m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) |
13 m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) |
|
14 |
|
15 # we are compiling a library |
8 LT_INIT |
16 LT_INIT |
|
17 |
|
18 # we are dealing with C source code |
9 AC_PROG_CC |
19 AC_PROG_CC |
|
20 |
|
21 # we want to support automake < 1.14, so we need this deprecated macro |
|
22 # it tests, whether the compiler allows -c and -o simultaneously |
|
23 # in modern versions of autoconf, this is done by AC_PROG_CC |
|
24 AM_PROG_CC_C_O |
|
25 |
|
26 # we require the current C standard |
10 AC_PROG_CC_STDC |
27 AC_PROG_CC_STDC |
|
28 |
|
29 # where to place config macros |
11 AC_CONFIG_HEADERS([config.h]) |
30 AC_CONFIG_HEADERS([config.h]) |
|
31 |
|
32 # our Makefiles |
12 AC_CONFIG_FILES([Makefile src/Makefile test/Makefile]) |
33 AC_CONFIG_FILES([Makefile src/Makefile test/Makefile]) |
|
34 |
|
35 # GO |
13 AC_OUTPUT |
36 AC_OUTPUT |
14 |
37 |