Don't bother with -Werror on Windows for now
authorTor Lillqvist <tml@iki.fi>
Wed, 21 Oct 2009 17:48:35 +0000 (20:48 +0300)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 1 Dec 2009 08:20:26 +0000 (09:20 +0100)
We have so many warnings

configure.in

index 0fd11ec..2c74f61 100644 (file)
@@ -1023,7 +1023,8 @@ ld_supports_flag() {
   fi
 }
 
-if test x$USE_MAINTAINER_MODE = xyes; then
+# Don't bother with -Werror on Windows for now, too many warnings
+if test x$dbus_win != xyes -a x$USE_MAINTAINER_MODE = xyes; then
   if cc_supports_flag "-Werror"; then
     CFLAGS="$CFLAGS -Werror"
   fi