From 23d0e9eaab1840fb28ce87242594ef56f7d1d666 Mon Sep 17 00:00:00 2001 From: robijn Date: Sun, 17 Aug 2003 15:46:03 +0000 Subject: [PATCH] Fixed processing of --disable-debug Thanks to Piotr Esden-Tempski --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index ea87adb..3fc32cb 100644 --- a/configure.in +++ b/configure.in @@ -32,8 +32,12 @@ AC_DEFINE_UNQUOTED([SYSTEM_HOST], [$ac_system_host], [Set this to your system ho AC_MSG_CHECKING(whether to enable debugging) AC_ARG_ENABLE(debug, [ --enable-debug show debug information], - AC_DEFINE(DEBUG) - debug="yes", + if [[[ "$enableval" = "yes" ]]]; then + AC_DEFINE(DEBUG) + debug="yes" + else + debug="no" + fi, debug="no" ) AC_MSG_RESULT($debug)