From: Christos Zoulas Date: Mon, 18 May 2009 18:31:02 +0000 (+0000) Subject: flip the polarity of the gcc test. X-Git-Tag: FILE5_04~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6828809702c183835495ad2b34a9ad05c7aee052;p=file flip the polarity of the gcc test. --- diff --git a/configure.ac b/configure.ac index 5fc7b3cf..9da571d8 100644 --- a/configure.ac +++ b/configure.ac @@ -130,15 +130,15 @@ else -Wsign-compare -Wreturn-type -Wswitch -Wshadow \ -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter" fi], [ -if test "$GCC" = no; then - WARNINGS= - AC_MSG_RESULT(no) -else +if test "$GCC" = yes; then AC_MSG_RESULT(yes) WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ -Wmissing-declarations -Wredundant-decls -Wnested-externs \ -Wsign-compare -Wreturn-type -Wswitch -Wshadow \ -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter" +else + WARNINGS= + AC_MSG_RESULT(no) fi]) dnl Checks for functions