From: Yann Dirson Date: Tue, 4 Feb 2014 21:25:49 +0000 (+0100) Subject: Drop -ansi from gcc extra flags. X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=commitdiff_plain;h=34c2e0623a1a5606e400f80a826e05a28ffe522e Drop -ansi from gcc extra flags. We don't care that much about it, and for some reason it causes the mingw compiler to not define any WIN32 macro. --- diff --git a/configure.ac b/configure.ac index e852a73..5d94b89 100644 --- a/configure.ac +++ b/configure.ac @@ -59,7 +59,7 @@ AC_CHECK_LIB([termcap], [tgoto]) if [[ $ac_cv_c_compiler_gnu = yes ]] then -WARNINGS="-Wall -Wno-implicit-int -Wstrict-prototypes -ansi" +WARNINGS="-Wall -Wno-implicit-int -Wstrict-prototypes" CEXTRAFLAGS="-fsigned-char -funroll-loops" else # Who knows what warnings your compiler uses?