diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-04-12 13:12:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-04-12 13:12:24 +0200 |
commit | c8836f702532b0bc3dd16972e6b504a7340e90e2 (patch) | |
tree | 47265168a68c970bb4e6d3ada13fdf9ebf0665a4 /src/auto | |
parent | 0eac828ab0199a639dd3657558fe9ed1411f43cd (diff) | |
download | vim-git-c8836f702532b0bc3dd16972e6b504a7340e90e2.tar.gz |
updated for version 7.4.258v7.4.258
Problem: Configure fails if $CC contains options.
Solution: Remove quotes around $CC. (Paul Barker)
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auto/configure b/src/auto/configure index bf40dea4d..f45505897 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -4074,9 +4074,9 @@ if test -z "$CFLAGS"; then test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall" fi if test "$GCC" = yes; then - gccversion=`"$CC" -dumpversion` + gccversion=`$CC -dumpversion` if test "x$gccversion" = "x"; then - gccversion=`"$CC" --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[^0-9]*\([0-9]\.[0-9.]*\).*$/\1/g'` + gccversion=`$CC --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[^0-9]*\([0-9]\.[0-9.]*\).*$/\1/g'` fi if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then echo 'GCC [34].0.[12] has a bug in the optimizer, disabling "-O#"' @@ -4091,7 +4091,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent clang version" >&5 $as_echo_n "checking for recent clang version... " >&6; } -CLANG_VERSION_STRING=`"$CC" --version 2>/dev/null | sed -n -e 's/^.*clang.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*$/\1/p'` +CLANG_VERSION_STRING=`$CC --version 2>/dev/null | sed -n -e 's/^.*clang.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*$/\1/p'` if test x"$CLANG_VERSION_STRING" != x"" ; then CLANG_MAJOR=`echo "$CLANG_VERSION_STRING" | sed -n -e 's/\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*/\1/p'` CLANG_MINOR=`echo "$CLANG_VERSION_STRING" | sed -n -e 's/[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*/\1/p'` |