Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.

Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. But,
autoconf 2.62 version of AC_AIX defines _ALL_SOURCE along with other four
preprocessor symbols no matter if the system is AIX or not. To keep the
traditional behaviour, as well as an uniform one, across autoconf versions
AC_AIX is replaced with our own internal macro.
This commit is contained in:
Yang Tse
2008-08-04 06:48:11 +00:00
parent abf47388f9
commit 5c5e64b2f5
3 changed files with 41 additions and 3 deletions
+3 -1
View File
@@ -64,11 +64,13 @@ AC_CANONICAL_HOST
dnl Get system canonical name
AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS])
AC_AIX
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_INSTALL
dnl This defines _ALL_SOURCE for AIX
CARES_CHECK_AIX_ALL_SOURCE
dnl Our configure and build reentrant settings
CARES_CONFIGURE_REENTRANT