summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwynne Raskind <gwynne@php.net>2008-04-15 16:31:36 +0000
committerGwynne Raskind <gwynne@php.net>2008-04-15 16:31:36 +0000
commitacfc6bd9e11cbffea3606517f9a998e7bc049e31 (patch)
treedf33e8c257c53763e81dba4e6d10cdeaffb0c673
parente8b485d0774c4993f623e35ab3d3df9f1d625732 (diff)
downloadphp-git-acfc6bd9e11cbffea3606517f9a998e7bc049e31.tar.gz
MFH: force use of BSD sed for OS X hack (patch by Alexey Zakhlestin)
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 80eb6e3b38..cb0d6632fe 100644
--- a/configure.in
+++ b/configure.in
@@ -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'`