Skip to content

Commit 97d12b6

Browse files
committed
updated for version 7.4.258
Problem: Configure fails if $CC contains options. Solution: Remove quotes around $CC. (Paul Barker)
1 parent cf34eb0 commit 97d12b6

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

src/auto/configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4074,9 +4074,9 @@ if test -z "$CFLAGS"; then
40744074
test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
40754075
fi
40764076
if test "$GCC" = yes; then
4077-
gccversion=`"$CC" -dumpversion`
4077+
gccversion=`$CC -dumpversion`
40784078
if test "x$gccversion" = "x"; then
4079-
gccversion=`"$CC" --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[^0-9]*\([0-9]\.[0-9.]*\).*$/\1/g'`
4079+
gccversion=`$CC --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[^0-9]*\([0-9]\.[0-9.]*\).*$/\1/g'`
40804080
fi
40814081
if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
40824082
echo 'GCC [34].0.[12] has a bug in the optimizer, disabling "-O#"'
@@ -4091,7 +4091,7 @@ fi
40914091

40924092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent clang version" >&5
40934093
$as_echo_n "checking for recent clang version... " >&6; }
4094-
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'`
4094+
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'`
40954095
if test x"$CLANG_VERSION_STRING" != x"" ; then
40964096
CLANG_MAJOR=`echo "$CLANG_VERSION_STRING" | sed -n -e 's/\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*/\1/p'`
40974097
CLANG_MINOR=`echo "$CLANG_VERSION_STRING" | sed -n -e 's/[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*/\1/p'`

src/configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ if test -z "$CFLAGS"; then
4646
fi
4747
if test "$GCC" = yes; then
4848
dnl method that should work for nearly all versions
49-
gccversion=`"$CC" -dumpversion`
49+
gccversion=`$CC -dumpversion`
5050
if test "x$gccversion" = "x"; then
5151
dnl old method; fall-back for when -dumpversion doesn't work
52-
gccversion=`"$CC" --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[[^0-9]]*\([[0-9]]\.[[0-9.]]*\).*$/\1/g'`
52+
gccversion=`$CC --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[[^0-9]]*\([[0-9]]\.[[0-9.]]*\).*$/\1/g'`
5353
fi
5454
dnl version 4.0.1 was reported to cause trouble on Macintosh by Marcin Dalecki
5555
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
6868
dnl the version number of the clang in use.
6969
dnl Note that this does not work to get the version of clang 3.1 or 3.2.
7070
AC_MSG_CHECKING(for recent clang version)
71-
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'`
71+
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'`
7272
if test x"$CLANG_VERSION_STRING" != x"" ; then
7373
CLANG_MAJOR=`echo "$CLANG_VERSION_STRING" | sed -n -e 's/\([[0-9]][[0-9]]*\)\.[[0-9]][[0-9]]*\.[[0-9]][[0-9]]*/\1/p'`
7474
CLANG_MINOR=`echo "$CLANG_VERSION_STRING" | sed -n -e 's/[[0-9]][[0-9]]*\.\([[0-9]][[0-9]]*\)\.[[0-9]][[0-9]]*/\1/p'`

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
258,
737739
/**/
738740
257,
739741
/**/

0 commit comments

Comments
 (0)