summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-07-05 06:07:53 +0000
committerSascha Schumann <sas@php.net>2002-07-05 06:07:53 +0000
commit30ed0ca993e2b846449bf45cfce55d40b25f870a (patch)
tree79cd5d3281f36e3bf0b1796c8b3b53dd61dce01b /configure.in
parentaf3871e44c19eaee688b954cd1f1f63bc3c2e076 (diff)
downloadphp-git-30ed0ca993e2b846449bf45cfce55d40b25f870a.tar.gz
Fix the Solaris issue where CPP was set wrongly to "cc -E", because
the AIX macro invoked the CPP check before the CC check, so that autoconf did not know which $CC to use. You can now close all those bug reports about unix.h and misdetected headers.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 595b67a89a..27abd7e948 100644
--- a/configure.in
+++ b/configure.in
@@ -126,9 +126,6 @@ T_ME=`$php_shtool echo -n -e %b`
dnl We want this one before the checks, so the checks can modify CFLAGS.
test -z "$CFLAGS" && auto_cflags=1
-dnl AC_AIX needs to be before any macros that run the C compiler.
-AC_AIX
-
abs_srcdir=`(cd $srcdir; pwd)`
abs_builddir=`pwd`
@@ -151,6 +148,9 @@ AC_PROG_CC_C_O
dnl Change to AC_PROG_CC_STDC when we start requiring a post-2.13 autoconf
dnl AC_PROG_CC_STDC
AC_PROG_CPP
+
+AC_AIX
+
dnl AC_PROG_CXX
dnl AC_PROG_CXXCPP
dnl check for -R, etc. switch