tony2001 Fri May 23 19:10:39 2008 UTC Modified files: (Branch: PHP_5_3) /php-src configure.in Log: MFH http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.15&r2=1.579.2.52.2.77.2.16&diff_format=u Index: php-src/configure.in diff -u php-src/configure.in:1.579.2.52.2.77.2.15 php-src/configure.in:1.579.2.52.2.77.2.16 --- php-src/configure.in:1.579.2.52.2.77.2.15 Tue Apr 15 16:31:36 2008 +++ php-src/configure.in Fri May 23 19:10:39 2008 @@ -1,4 +1,4 @@ -## $Id: configure.in,v 1.579.2.52.2.77.2.15 2008/04/15 16:31:36 gwynne Exp $ -*- autoconf -*- +## $Id: configure.in,v 1.579.2.52.2.77.2.16 2008/05/23 19:10:39 tony2001 Exp $ -*- autoconf -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -214,7 +214,7 @@ GCC_MAJOR_VERSION=`$CC -dumpversion | /usr/bin/sed -nE '1s/([[0-9]]+)\.[[0-9]]+\..*/\1/;1p'` ;; *) - GCC_MAJOR_VERSION=`$CC --version | $SED -n '1s/[[^0-9]]*\([[0-9]]\+\)\.[[0-9]]\+\..*/\1/;1p'` + GCC_MAJOR_VERSION=`$CC --version | $SED -n '1s/[[^0-9]]*//;1s/\..*//;1p'` ;; esac if test $GCC_MAJOR_VERSION -ge 4; then
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php