From c566cd0e4a7d9424a95c7d7c16f861e458bee8f1 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 4 Jul 2020 02:42:52 -0600 Subject: * When building Alpine, the option --disable-debug will only affect if its binary is compiled with debug, and not the ability of alpine to generate internal debug. Alpine will not write debug files unless started with the option -d, so for example "alpine -d 2" will generate a debug file at level 2, but just issuing the alpine command will not write any debug to a file. --- configure | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'configure') diff --git a/configure b/configure index f902aa2f..9d11f5ea 100755 --- a/configure +++ b/configure @@ -1578,7 +1578,7 @@ Optional Features: --enable-dmalloc Enable dmalloc debugging --enable-osx-universal-binaries Produce universal binaries under OS X [[default=no]] - --disable-debug Exclude debug messages from source + --disable-debug Exclude debug from the binary --disable-optimization Exclude optimizing compiler flags --disable-mouse Disable mouse support --enable-quotas Enable disk quota checking on startup @@ -15157,12 +15157,6 @@ fi if test x$enable_debug != "xno" ; then AM_CFLAGS="$AM_CFLAGS -g" - -$as_echo "#define DEBUG 1" >>confdefs.h - - -$as_echo "#define DEBUGJOURNAL 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else @@ -15170,6 +15164,13 @@ else $as_echo "no" >&6; } fi +$as_echo "#define DEBUG 1" >>confdefs.h + + +$as_echo "#define DEBUGJOURNAL 1" >>confdefs.h + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5 $as_echo_n "checking option: optimization is enabled... " >&6; } # Check whether --enable-optimization was given. -- cgit v1.2.3-70-g09d2