cvs: php4 / configure.in
| From: | Sascha Schumann | Date: | Fri, 05 Jul 2002 06:07:53 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12718@lists.php.net to get a copy of this message | ||
sas Fri Jul 5 02:07:53 2002 EDT
Modified files:
/php4 configure.in
Log:
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.
Index: php4/configure.in
diff -u php4/configure.in:1.359 php4/configure.in:1.360
--- php4/configure.in:1.359 Fri Jul 5 02:02:19 2002
+++ php4/configure.in Fri Jul 5 02:07:53 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.359 2002/07/05 06:02:19 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.360 2002/07/05 06:07:53 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -126,9 +126,6 @@
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 @@
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