gwynne          Tue Apr 15 16:31:15 2008 UTC

  Modified files:              
    /php-src    configure.in 
  Log:
  force use of BSD sed for OS X hack (patch by Alexey Zakhlestin)
  
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.652&r2=1.653&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.652 php-src/configure.in:1.653
--- php-src/configure.in:1.652  Tue Apr  1 02:41:16 2008
+++ php-src/configure.in        Tue Apr 15 16:31:15 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.652 2008/04/01 02:41:16 gwynne Exp $ -*- autoconf -*-
+## $Id: configure.in,v 1.653 2008/04/15 16:31:15 gwynne Exp $ -*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -212,7 +212,7 @@
 if test "$GCC" = "yes"; then
   case $host_alias in
   *darwin*)
-    GCC_MAJOR_VERSION=`$CC -dumpversion | $SED -nE 
'1s/([[0-9]]+)\.[[0-9]]+\..*/\1/;1p'`
+    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'`



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

Reply via email to