summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-04 06:48:11 +0000
committerYang Tse <yangsita@gmail.com>2008-08-04 06:48:11 +0000
commit5c5e64b2f577e1d1455133e4bb155cc6f9a8f8ba (patch)
treec7df89e8dd43eedabebf4dbca331a68831c5bc11 /configure.ac
parentabf47388f96794523efc0b1520b7d31a9c11a5fe (diff)
downloadc-ares-5c5e64b2f577e1d1455133e4bb155cc6f9a8f8ba.tar.gz
c-ares-5c5e64b2f577e1d1455133e4bb155cc6f9a8f8ba.tar.bz2
c-ares-5c5e64b2f577e1d1455133e4bb155cc6f9a8f8ba.zip
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f31896c..8ba64e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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