]> granicus.if.org Git - php/commitdiff
force use of BSD sed for OS X hack (patch by Alexey Zakhlestin)
authorGwynne Raskind <gwynne@php.net>
Tue, 15 Apr 2008 16:31:15 +0000 (16:31 +0000)
committerGwynne Raskind <gwynne@php.net>
Tue, 15 Apr 2008 16:31:15 +0000 (16:31 +0000)
configure.in

index 1571cc2301a1e5537f9a9242146a3da073d22a39..aa40c40b3aad0b01245526e283f098d97becfe7b 100644 (file)
@@ -212,7 +212,7 @@ dnl activate some gcc specific optimizations for gcc >= 4
 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'`