aboutsummaryrefslogtreecommitdiff
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
commitb4fdccf87a78d2de32e049e5926e921f002e5ac7 (patch)
treefddc3154a8a140d4f1a550845b12075167a1848d /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 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 2cd527d9e..f810ccce3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,12 +129,12 @@ AC_CANONICAL_HOST
dnl Get system canonical name
AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS])
-dnl Check for AIX weirdos
-AC_AIX
-
dnl Checks for programs.
AC_PROG_CC
+dnl This defines _ALL_SOURCE for AIX
+CURL_CHECK_AIX_ALL_SOURCE
+
dnl Our configure and build reentrant settings
CURL_CONFIGURE_REENTRANT