Cope with gcc that outputs a multiline version string, per Trond.
This commit is contained in:
parent
47ccf37c62
commit
3f5d3ceed0
4
configure
vendored
4
configure
vendored
@ -1481,7 +1481,7 @@ else
|
|||||||
if { (eval echo configure:1482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
if { (eval echo configure:1482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||||
for file in conftest.*; do
|
for file in conftest.*; do
|
||||||
case $file in
|
case $file in
|
||||||
*.c | *.C | *.o | *.obj) ;;
|
*.c | *.o | *.obj) ;;
|
||||||
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
|
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -1629,7 +1629,7 @@ fi
|
|||||||
|
|
||||||
# Create compiler version string
|
# Create compiler version string
|
||||||
if test x"$GCC" = x"yes" ; then
|
if test x"$GCC" = x"yes" ; then
|
||||||
cc_string="GCC `${CC} --version`"
|
cc_string="GCC `${CC} --version | head -1`"
|
||||||
else
|
else
|
||||||
cc_string=$CC
|
cc_string=$CC
|
||||||
fi
|
fi
|
||||||
|
@ -297,7 +297,7 @@ AC_SUBST(GCC)
|
|||||||
|
|
||||||
# Create compiler version string
|
# Create compiler version string
|
||||||
if test x"$GCC" = x"yes" ; then
|
if test x"$GCC" = x"yes" ; then
|
||||||
cc_string="GCC `${CC} --version`"
|
cc_string="GCC `${CC} --version | head -1`"
|
||||||
else
|
else
|
||||||
cc_string=$CC
|
cc_string=$CC
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user