From 9635a4793e5b2babcf4e7ef2ebcde7e78995ecf3 Mon Sep 17 00:00:00 2001 From: yura Date: Mon, 13 Nov 2006 15:38:43 +0000 Subject: [PATCH] Disable debug logging by default (seriously increase speed) --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 2c743ae6..c2a14622 100644 --- a/configure.ac +++ b/configure.ac @@ -143,11 +143,12 @@ AH_TEMPLATE([NTFS_DISABLE_DEBUG_LOGGING], [Define this if you want to compile out the debug log messages. This will reduce the size of the binaries.]) AC_ARG_ENABLE(debug-logging, - AS_HELP_STRING(--disable-debug-logging,Remove debug logging from the code), - if test "$enable_debug_logging" == "no"; then - AC_DEFINE(NTFS_DISABLE_DEBUG_LOGGING) - fi, + AS_HELP_STRING(--enable-debug-logging,Add debug logging to the code),, + enable_debug_logging=no ) +if test "$enable_debug_logging" == "no"; then + AC_DEFINE(NTFS_DISABLE_DEBUG_LOGGING) +fi # Use GNU extensions if available. AC_GNU_SOURCE