]> granicus.if.org Git - php/commitdiff
Fix the Solaris issue where CPP was set wrongly to "cc -E", because
authorSascha Schumann <sas@php.net>
Fri, 5 Jul 2002 06:07:53 +0000 (06:07 +0000)
committerSascha Schumann <sas@php.net>
Fri, 5 Jul 2002 06:07:53 +0000 (06:07 +0000)
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.

configure.in

index 595b67a89a5f1b7f35977ead57785d0461f8bc62..27abd7e948ed126d2d2217976bf9d58ae5bce329 100644 (file)
@@ -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