diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 38173aa..329e771 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -19,14 +19,14 @@ | |||
19 | # | 19 | # |
20 | # Process this file with autoconf to produce a configure script. | 20 | # Process this file with autoconf to produce a configure script. |
21 | # | 21 | # |
22 | AC_PREREQ(2.61) | 22 | AC_PREREQ([2.71]) |
23 | AC_INIT([gnunet-ext],[0.0.0],[bug-gnunet@gnu.org]) | 23 | AC_INIT([gnunet-ext],[0.0.0],[bug-gnunet@gnu.org]) |
24 | AM_INIT_AUTOMAKE([tar-ustar]) | 24 | AM_INIT_AUTOMAKE([tar-ustar]) |
25 | AM_CONFIG_HEADER(gnunet_ext_config.h) | 25 | AM_CONFIG_HEADER(gnunet_ext_config.h) |
26 | 26 | ||
27 | AH_TOP([#define _GNU_SOURCE 1]) | 27 | AH_TOP([#define _GNU_SOURCE 1]) |
28 | 28 | ||
29 | AC_ISC_POSIX | 29 | AC_SEARCH_LIBS([strerror],[cposix]) |
30 | AC_PROG_AWK | 30 | AC_PROG_AWK |
31 | AC_PROG_CC | 31 | AC_PROG_CC |
32 | AC_PROG_MKDIR_P | 32 | AC_PROG_MKDIR_P |
@@ -34,15 +34,23 @@ AC_PROG_CPP | |||
34 | AC_PROG_INSTALL | 34 | AC_PROG_INSTALL |
35 | AC_PROG_LN_S | 35 | AC_PROG_LN_S |
36 | AC_PROG_MAKE_SET | 36 | AC_PROG_MAKE_SET |
37 | AC_LIBTOOL_WIN32_DLL | 37 | |
38 | AC_PROG_CC | 38 | AC_PROG_CC |
39 | AM_PROG_CC_STDC | 39 | AM_PROG_CC_STDC |
40 | AC_HEADER_STDC | 40 | m4_warn([obsolete], |
41 | [The preprocessor macro `STDC_HEADERS' is obsolete. | ||
42 | Except in unusual embedded environments, you can safely include all | ||
43 | ISO C90 headers unconditionally.])dnl | ||
44 | # Autoupdate added the next two lines to ensure that your configure | ||
45 | # script's behavior did not change. They are probably safe to remove. | ||
46 | AC_CHECK_INCLUDES_DEFAULT | ||
47 | AC_PROG_EGREP | ||
48 | |||
41 | AC_CANONICAL_HOST | 49 | AC_CANONICAL_HOST |
42 | 50 | ||
43 | # dynamic libraries/plugins | 51 | # dynamic libraries/plugins |
44 | AC_DISABLE_STATIC | 52 | AC_DISABLE_STATIC |
45 | AC_PROG_LIBTOOL | 53 | LT_INIT([disable-static dlopen]) |
46 | 54 | ||
47 | AC_SYS_LARGEFILE | 55 | AC_SYS_LARGEFILE |
48 | AC_FUNC_FSEEKO | 56 | AC_FUNC_FSEEKO |
@@ -199,10 +207,11 @@ AC_DEFINE_DIR([PACKAGE_DATA], [datarootdir], [The directory for installing read- | |||
199 | packagesrcdir=`cd $srcdir && pwd` | 207 | packagesrcdir=`cd $srcdir && pwd` |
200 | AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [source dir]) | 208 | AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [source dir]) |
201 | 209 | ||
202 | AC_OUTPUT([ po/Makefile.in | 210 | AC_CONFIG_FILES([ po/Makefile.in |
203 | Makefile | 211 | Makefile |
204 | src/Makefile | 212 | src/Makefile |
205 | src/include/Makefile | 213 | src/include/Makefile |
206 | src/ext/Makefile | 214 | src/ext/Makefile |
207 | src/ext/ext.conf | 215 | src/ext/ext.conf |
208 | ]) | 216 | ]) |
217 | AC_OUTPUT | ||