dsp             Thu Dec  4 00:41:17 2008 UTC

  Modified files:              
    /php-src    acinclude.m4 configure.in 
  Log:
  MFB: Fix test for auto_cflags and explictly set GCC="no" if we detect suncc
  
  
http://cvs.php.net/viewvc.cgi/php-src/acinclude.m4?r1=1.391&r2=1.392&diff_format=u
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.391 php-src/acinclude.m4:1.392
--- php-src/acinclude.m4:1.391  Thu Nov  6 20:38:02 2008
+++ php-src/acinclude.m4        Thu Dec  4 00:41:17 2008
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: acinclude.m4,v 1.391 2008/11/06 20:38:02 dsp Exp $
+dnl $Id: acinclude.m4,v 1.392 2008/12/04 00:41:17 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])
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.667&r2=1.668&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.667 php-src/configure.in:1.668
--- php-src/configure.in:1.667  Thu Nov 27 19:45:16 2008
+++ php-src/configure.in        Thu Dec  4 00:41:17 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.667 2008/11/27 19:45:16 scottmac Exp $ -*- autoconf 
-*-
+## $Id: configure.in,v 1.668 2008/12/04 00:41:17 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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to