Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 22 | Blame | Compare with Previous | Last modification | View Log | RSS feed

Description: Change the configure script so that --enable-debug doesn't modify $CFLAGS
 The debug logging option is useful, but we don't want the build flags to be messed with.

--- a/configure
+++ b/configure
@@ -4533,7 +4533,7 @@ cat >>confdefs.h <<\_ACEOF
 #define ENABLE_DEBUGGING 1
 _ACEOF
 
-       DEBUG_CFLAGS="-O0 -fvar-tracking -g3 -ggdb"
+#      DEBUG_CFLAGS="-O0 -fvar-tracking -g3 -ggdb"
 fi
 
 enableval=""
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,7 @@ AC_ARG_ENABLE(debug,
 [  --enable-debug          Enable debugging])
 if test "$enableval" = "yes"; then
        AC_DEFINE(ENABLE_DEBUGGING, 1, [Define to enable debugging])
-       DEBUG_CFLAGS="-O0 -fvar-tracking -g3 -ggdb"
+#      DEBUG_CFLAGS="-O0 -fvar-tracking -g3 -ggdb"
 fi
 
 enableval=""