dsp Wed Dec 3 19:53:45 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src configure.in acinclude.m4
Log:
Fix test for auto_cflags and explictly set GCC="no" if we detect suncc
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.34&r2=1.579.2.52.2.77.2.35&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.34
php-src/configure.in:1.579.2.52.2.77.2.35
--- php-src/configure.in:1.579.2.52.2.77.2.34 Thu Nov 27 19:45:27 2008
+++ php-src/configure.in Wed Dec 3 19:53:45 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.34 2008/11/27 19:45:27 scottmac Exp $
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.35 2008/12/03 19:53:45 dsp Exp $ -*-
autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -796,7 +796,7 @@
CXXFLAGS="$CXXFLAGS -O0"
fi
if test "$SUNCC" = "yes"; then
- if -n "$auto_cflags"; then
+ if test -n "$auto_cflags"; then
CFLAGS="-g"
CXXFLAGS="-g"
else
http://cvs.php.net/viewvc.cgi/php-src/acinclude.m4?r1=1.332.2.14.2.26.2.11&r2=1.332.2.14.2.26.2.12&diff_format=u
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.332.2.14.2.26.2.11
php-src/acinclude.m4:1.332.2.14.2.26.2.12
--- php-src/acinclude.m4:1.332.2.14.2.26.2.11 Thu Nov 6 20:42:11 2008
+++ php-src/acinclude.m4 Wed Dec 3 19:53:45 2008
@@ -1,5 +1,5 @@
dnl
-dnl $Id: acinclude.m4,v 1.332.2.14.2.26.2.11 2008/11/06 20:42:11 dsp Exp $
+dnl $Id: acinclude.m4,v 1.332.2.14.2.26.2.12 2008/12/03 19:53:45 dsp Exp $
dnl
dnl This file contains local autoconf functions.
dnl
@@ -2776,6 +2776,7 @@
SUNCC="no"
AC_MSG_RESULT([no]),
SUNCC="yes"
+ GCC="no"
test -n "$auto_cflags" && CFLAGS="-fsimple=2 -xnorunpath -xO4
-xalias_level=basic -xipo=1 -xlibmopt -xprefetch_level=1 -xprefetch=auto
-xstrconst -xtarget=native -zlazyload"
GCC=""
AC_MSG_RESULT([yes])
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php