From 30ed0ca993e2b846449bf45cfce55d40b25f870a Mon Sep 17 00:00:00 2001
From: Sascha Schumann <sas@php.net>
Date: Fri, 5 Jul 2002 06:07:53 +0000
Subject: 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.
---
 configure.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'configure.in')

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
-- 
cgit v1.2.1