diff options
author | Michael Adam <obnox@samba.org> | 2009-05-29 00:07:30 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-05-29 00:09:43 +0200 |
commit | 3ebb2ce607be7ad194f399e6901d34fd9f1c4bdb (patch) | |
tree | 7eb5729b18e8d93dfc7b3f3163217e30c62caab8 | |
parent | 0b191f16fef400394b6a45b75dd37018ccf94fbd (diff) |
autogen.sh: fix errors with new autotools.
The following errors occurred when running ./autogen.sh :
$ ./autogen.sh
+ aclocal
configure.ac:18: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:386: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
configure.ac:18: the top level
configure.ac:18: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:19: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:459: AC_MINIX is expanded from...
configure.ac:19: the top level
configure.ac:19: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
and so on for autoheader and friends.
According to the autotools docs, the proper way to handle this
is to just call AC_USE_SYSTEM_EXTENSIONS.
Michael
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 56f2444..540d0ba 100644 --- a/configure.ac +++ b/configure.ac @@ -14,9 +14,7 @@ AH_TEMPLATE([TARGET_SYSTEM], AC_DEFINE_UNQUOTED(TARGET_SYSTEM, ["$target"]) dnl Check if we're compiling on a weird platform :) -AC_AIX -AC_GNU_SOURCE -AC_MINIX +AC_USE_SYSTEM_EXTENSIONS dnl dnl Command line options |