]> granicus.if.org Git - curl/commitdiff
when --enable-debug is used to set debug options with gcc, use -Wno-long-long
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Aug 2003 15:38:20 +0000 (15:38 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Aug 2003 15:38:20 +0000 (15:38 +0000)
to inhibit long long warnings (ISO C90 does not support `long long')

configure.ac

index d2c42a373816cfb2918ce70acf6966777637740d..9662063e75f5a1b65c66b700b719f3c5c7883c77 100644 (file)
@@ -933,7 +933,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
     CPPFLAGS="$CPPFLAGS -DCURLDEBUG"
     CFLAGS="$CFLAGS -g" 
     if test "$GCC" = "yes"; then
-       CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wnested-externs"
+       CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs"
     fi
     dnl strip off optimizer flags
     NEWFLAGS=""