diff options
author | Gwynne Raskind <gwynne@php.net> | 2008-04-15 16:31:15 +0000 |
---|---|---|
committer | Gwynne Raskind <gwynne@php.net> | 2008-04-15 16:31:15 +0000 |
commit | 2e4fb1da8520b4000ed970408586c55780d0dd3f (patch) | |
tree | 637adc48b718ecec21bd48cc8f28e0501f0a8531 /configure.in | |
parent | aa82b397dadb9c0f3010823f69a8c0480ab65242 (diff) | |
download | php-git-2e4fb1da8520b4000ed970408586c55780d0dd3f.tar.gz |
force use of BSD sed for OS X hack (patch by Alexey Zakhlestin)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 1571cc2301..aa40c40b3a 100644 --- a/configure.in +++ b/configure.in @@ -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'` |