From 5c9ca8dd6a490d9aa9034b924aa25c168c93030f Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 4 Dec 2013 21:15:31 -0600 Subject: [PATCH] Removed temporary hack to enable debug from configure.ac. --- configure.ac | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 4d6e59dc..38e2a58b 100644 --- a/configure.ac +++ b/configure.ac @@ -93,8 +93,7 @@ dnl ------------------ dnl We want these before the checks, dnl so the checks can modify their values. test -z "$CFLAGS" && CFLAGS= auto_cflags=1 -dnl TEMPORARILY ENABLE DEBUG -if test x"$enable_debug" = x""; then +if test x"$enable_debug" = x"yes"; then test -z "$LDFLAGS" && LDFLAGS=-g fi @@ -144,8 +143,7 @@ if test "$nmh_cv_has_wextra" = "yes"; then fi if test -n "$auto_cflags"; then - dnl TEMPORARILY ENABLE DEBUG - if test x"$enable_debug" = x""; then + if test x"$enable_debug" = x"yes"; then if test -n "$GCC"; then test -z "$CFLAGS" && CFLAGS="$nmh_gcc_warnflags -g" || CFLAGS="$CFLAGS $nmh_gcc_warnflags -g" else -- 2.56.0