need to use $CC instead of raw gcc when testing the version

This commit is contained in:
Bill Currie 2002-04-13 19:52:24 +00:00
parent b4c8546169
commit 2e69aa787c

View file

@ -1196,7 +1196,7 @@ if test "x$optimize" = xyes; then
shift shift
args="$*" args="$*"
AC_MSG_CHECKING(for gcc version) AC_MSG_CHECKING(for gcc version)
CCVER="gcc `gcc --version`" CCVER="gcc `$CC --version`"
set $CCVER set $CCVER
IFS="." IFS="."
set $2 set $2