From: David Levine Date: Thu, 5 Dec 2013 03:15:31 +0000 (-0600) Subject: Removed temporary hack to enable debug from configure.ac. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/5c9ca8dd6a490d9aa9034b924aa25c168c93030f?ds=inline;hp=-c Removed temporary hack to enable debug from configure.ac. --- 5c9ca8dd6a490d9aa9034b924aa25c168c93030f 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