aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commitb4fdccf87a78d2de32e049e5926e921f002e5ac7 (patch)
treefddc3154a8a140d4f1a550845b12075167a1848d /ares/configure.ac
parent8d012181b01aae80b46c90755a55126bc9731f7d (diff)
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 'ares/configure.ac')
-rw-r--r--ares/configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index f31896cce..8ba64e7e0 100644
--- a/ares/configure.ac
+++ b/ares/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