From: Sascha Schumann Date: Fri, 5 Jul 2002 06:07:53 +0000 (+0000) Subject: Fix the Solaris issue where CPP was set wrongly to "cc -E", because X-Git-Tag: INITIAL_IMPORT_SOURCEFORGE~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30ed0ca993e2b846449bf45cfce55d40b25f870a;p=php 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. --- 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