]> diplodocus.org Git - nmh/commitdiff
Removed temporary hack to enable debug from configure.ac.
authorDavid Levine <levinedl@acm.org>
Thu, 5 Dec 2013 03:15:31 +0000 (21:15 -0600)
committerDavid Levine <levinedl@acm.org>
Thu, 5 Dec 2013 03:15:31 +0000 (21:15 -0600)
configure.ac

index 4d6e59dcb065b6d305cdda3fe5d3828a503f95cf..38e2a58bf5fd16498cba625ef805e4bfe1e72e22 100644 (file)
@@ -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 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
 
   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
 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
     if test -n "$GCC"; then
       test -z "$CFLAGS" && CFLAGS="$nmh_gcc_warnflags -g" || CFLAGS="$CFLAGS $nmh_gcc_warnflags -g"
     else