blob: da1dbe191d317b97a4dc4aa19f9d5974944fbf33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Subject: [PATCH] Fix the forced debugging mode even if --disable-debug is given on the command line
--- configure.in~ 2010-06-05 12:00:40.000000000 +0200
+++ configure.in 2010-06-13 16:56:42.000000000 +0200
@@ -84,7 +84,9 @@
dnl Enable debugging mode
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],[Enable debug messages]),
- AM_CFLAGS="$AM_CFLAGS -DDEBUG"
+ [if test "x$enableval" = "xyes"; then
+ AM_CFLAGS="$AM_CFLAGS -DDEBUG"
+ fi]
AM_CXXFLAGS="$AM_CXXFLAGS -DDEBUG")
AC_SUBST(AM_CFLAGS)
AC_SUBST(AM_CXXFLAGS)
|