]> granicus.if.org Git - mutt/commitdiff
Recognize differently-named gccs as such, and enable warnings. From
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 10 Jan 2000 10:43:50 +0000 (10:43 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 10 Jan 2000 10:43:50 +0000 (10:43 +0000)
"Andrew W. Nosenko" <awn@bcs.zp.ua>.

configure.in

index 80cc41cdf6e38ea77d7cabf1bcdc81be37565482..abc2b3d82990bc92aed94061ee12f5224d9a89b2 100644 (file)
@@ -520,7 +520,7 @@ AC_ARG_ENABLE(warnings, [  --disable-warnings         turn off compiler warnings
        mutt_cv_warnings=no
 fi])
 
-if test "$ac_cv_prog_CC" = gcc -a $mutt_cv_warnings = yes; then
+if test x$GCC = xyes -a $mutt_cv_warnings = yes; then
        CFLAGS="-Wall -pedantic $CFLAGS"
 fi