mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4.258
Problem: Configure fails if $CC contains options. Solution: Remove quotes around $CC. (Paul Barker)
This commit is contained in:
parent
0eac828ab0
commit
c8836f7025
6
src/auto/configure
vendored
6
src/auto/configure
vendored
@ -4074,9 +4074,9 @@ if test -z "$CFLAGS"; then
|
|||||||
test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
|
test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
|
||||||
fi
|
fi
|
||||||
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
||||||
gccversion=`"$CC" -dumpversion`
|
gccversion=`$CC -dumpversion`
|
||||||
if test "x$gccversion" = "x"; then
|
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
|
fi
|
||||||
if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
|
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#"'
|
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 "$as_me:${as_lineno-$LINENO}: checking for recent clang version" >&5
|
||||||
$as_echo_n "checking for recent clang version... " >&6; }
|
$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
|
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_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'`
|
CLANG_MINOR=`echo "$CLANG_VERSION_STRING" | sed -n -e 's/[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*/\1/p'`
|
||||||
|
@ -46,10 +46,10 @@ if test -z "$CFLAGS"; then
|
|||||||
fi
|
fi
|
||||||
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
||||||
dnl method that should work for nearly all versions
|
dnl method that should work for nearly all versions
|
||||||
gccversion=`"$CC" -dumpversion`
|
gccversion=`$CC -dumpversion`
|
||||||
if test "x$gccversion" = "x"; then
|
if test "x$gccversion" = "x"; then
|
||||||
dnl old method; fall-back for when -dumpversion doesn't work
|
dnl old method; fall-back for when -dumpversion doesn't work
|
||||||
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
|
fi
|
||||||
dnl version 4.0.1 was reported to cause trouble on Macintosh by Marcin Dalecki
|
dnl version 4.0.1 was reported to cause trouble on Macintosh by Marcin Dalecki
|
||||||
if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
|
if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
|
||||||
@ -68,7 +68,7 @@ dnl warning when that flag is passed to. Accordingly, adjust CFLAGS based on
|
|||||||
dnl the version number of the clang in use.
|
dnl the version number of the clang in use.
|
||||||
dnl Note that this does not work to get the version of clang 3.1 or 3.2.
|
dnl Note that this does not work to get the version of clang 3.1 or 3.2.
|
||||||
AC_MSG_CHECKING(for recent clang version)
|
AC_MSG_CHECKING(for recent clang version)
|
||||||
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
|
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_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'`
|
CLANG_MINOR=`echo "$CLANG_VERSION_STRING" | sed -n -e 's/[[0-9]][[0-9]]*\.\([[0-9]][[0-9]]*\)\.[[0-9]][[0-9]]*/\1/p'`
|
||||||
|
@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
258,
|
||||||
/**/
|
/**/
|
||||||
257,
|
257,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user