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
This commit is contained in:
parent
0b191f16fe
commit
3ebb2ce607
@ -14,9 +14,7 @@ AH_TEMPLATE([TARGET_SYSTEM],
|
|||||||
AC_DEFINE_UNQUOTED(TARGET_SYSTEM, ["$target"])
|
AC_DEFINE_UNQUOTED(TARGET_SYSTEM, ["$target"])
|
||||||
|
|
||||||
dnl Check if we're compiling on a weird platform :)
|
dnl Check if we're compiling on a weird platform :)
|
||||||
AC_AIX
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
AC_GNU_SOURCE
|
|
||||||
AC_MINIX
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Command line options
|
dnl Command line options
|
||||||
|
Loading…
Reference in New Issue
Block a user