Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MFH: force use of BSD sed for OS X hack (patch by Alexey Zakhlestin)

  • Loading branch information...
commit acfc6bd9e11cbffea3606517f9a998e7bc049e31 1 parent e8b485d
Gwynne Raskind authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  configure.in
View
2  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'`
Please sign in to comment.
Something went wrong with that request. Please try again.