Ticket #1821: patch-configure.ac

File patch-configure.ac, 776 bytes (added by mezz, 13 years ago)
Line 
1--- configure.ac.orig   2009-02-14 12:57:07.000000000 -0600
2+++ configure.ac        2009-02-14 12:57:50.000000000 -0600
3@@ -57,8 +57,8 @@
4 AC_PROG_CXX
5 AC_C_INLINE
6 if test "x$GCC" = "xyes" ; then
7-    CFLAGS="-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute"
8-    CXXFLAGS="-Wall -Wformat-security -W"
9+    CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute"
10+    CXXFLAGS="$CXXFLAGS -Wall -Wformat-security -W"
11 fi
12 
13 AC_HEADER_STDC