X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=blobdiff_plain;f=configure.in;h=17a3c994fad83613aed7f385388b5e20ed75f8d5;hp=7875831371933c28e11bcf50ce8b9cb0aaac9ba7;hb=5b8e43a48ea1a5fb4e54dd12fe965439df2bf95d;hpb=ab2cb932b25af20896c08f4641dfa696ed651418 diff --git a/configure.in b/configure.in index 7875831..17a3c99 100644 --- a/configure.in +++ b/configure.in @@ -78,14 +78,16 @@ fi AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes) WARN_CFLAGS="" - if test "x$GCC" = "xyes"; then WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations \ -Wnested-externs -fno-strict-aliasing" + AC_DEFINE_UNQUOTED(HAVE_WARNING_CPP_DIRECTIVE,1, + [Can use #warning in C files]) fi AC_SUBST(WARN_CFLAGS) + dnl ========================================================================== AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)