From 82977e3948e2d072dea0c6fe372eed08c7cc2092 Mon Sep 17 00:00:00 2001 From: toogley Date: Sat, 10 Jun 2017 22:25:35 +0200 Subject: [PATCH] remove debug/logging from makefile/configure --- auto.def | 8 +------- configure.ac | 6 ------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/auto.def b/auto.def index 00a931f56..9ef722a80 100644 --- a/auto.def +++ b/auto.def @@ -27,7 +27,6 @@ options { with-ncurses:path => "Location of ncurses" with-slang:path => "Location of S-Lang" # Features w/o 3rd party dependencies - logging=0 => "Enable debug logging" doc=1 => "Disable building the documentation" full-doc=0 => "Build the full documentation set" docdir:path => "Documentation root" @@ -96,7 +95,7 @@ if {1} { # Keep sorted, please. foreach opt { bdb doc everything fcntl flock fmemopen full-doc gdbm gnutls gpgme gss - homespool idn kyotocabinet lmdb locales-fix logging lua mixmaster nls + homespool idn kyotocabinet lmdb locales-fix lua mixmaster nls notmuch pgp qdbm sasl smime ssl tokyocabinet } { define want-$opt [opt-bool $opt] @@ -305,10 +304,6 @@ if {[get-define want-everything]} { set conf_options "$::argv" } -############################################################################### -# Debug -if {[get-define want-logging]} {define DEBUG} - ############################################################################### # flock(1) if {[get-define want-flock]} {define USE_FLOCK} @@ -826,7 +821,6 @@ set auto_rep { BINDIR BUILD_DOC CRYPT_* - DEBUG DOMAIN ENABLE_* HAVE_* diff --git a/configure.ac b/configure.ac index e739f1f58..996dde72e 100644 --- a/configure.ac +++ b/configure.ac @@ -591,12 +591,6 @@ AM_CONDITIONAL(USE_SASL, test x$need_sasl = xyes) dnl -- end socket -- -AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug],[Enable debugging support]), - [ if test x$enableval = xyes; then - AC_DEFINE(DEBUG,1,[ Define to enable debugging info. ]) - fi -]) - AC_ARG_ENABLE(flock, AS_HELP_STRING([--enable-flock],[Use flock() to lock files]), [if test $enableval = yes; then AC_DEFINE(USE_FLOCK,1, [ Define to use flock() to lock mailboxes. ]) -- 2.40.0