1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

When checking the GCC version, use $CC instead of just gcc so that we

get the right version if the user sets CC.
This commit is contained in:
Miciah Dashiel Butler Masters 2005-12-20 21:44:15 +00:00 committed by Miciah Dashiel Butler Masters
parent 5f9583579e
commit 5aaf1101e1

View File

@ -1221,7 +1221,7 @@ if test "x$ac_cv_prog_gcc" = "xyes"; then
CFLAGS="$CFLAGS -Werror"
fi
case "`gcc -dumpversion`" in
case "`$CC -dumpversion`" in
3.0|3.1|3.2)
# These should be ok using -Werror
;;