Drop -ansi from gcc extra flags.
authorYann Dirson <ydirson@free.fr>
Tue, 4 Feb 2014 21:25:49 +0000 (22:25 +0100)
committerYann Dirson <ydirson@free.fr>
Tue, 4 Feb 2014 22:01:57 +0000 (23:01 +0100)
We don't care that much about it, and for some reason it causes the mingw
compiler to not define any WIN32 macro.

configure.ac

index e852a73..5d94b89 100644 (file)
@@ -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?