From a4a52620180ef6b7290c7887e972c2d652025982 Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Sat, 10 May 2008 00:35:34 +0000 Subject: [PATCH] Fix --enable-debug / --disable-debug configure option (disable did not work) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8344 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 646d855421..85cf713352 100644 --- a/configure.in +++ b/configure.in @@ -64,8 +64,6 @@ if test "${enable_optimizer}" = "yes" ; then fi -AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"]) - # Optional Features AC_ARG_ENABLE(resample, @@ -144,7 +142,7 @@ fi # Enable debugging AC_ARG_ENABLE(debug, -[AC_HELP_STRING([--enable-debug],[build with debug information])],[enable_debug="$enable_debug"],[enable_debug="yes"]) +[AC_HELP_STRING([--enable-debug],[build with debug information])],[enable_debug="$enableval"],[enable_debug="yes"]) if test "${enable_debug}" = "yes"; then AC_DEFINE([DEBUG],[],[Enable extra debugging.]) @@ -157,6 +155,8 @@ if test "${enable_debug}" = "yes"; then fi +AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"]) + # tweak platform specific flags case "$host" in