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

index 80eb6e3b388e689b661966b564b3e0f7e2716758..cb0d6632fe79227c47834564e62c80e2965f2a60 100644 (file)
@@ -211,7 +211,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'`