]> diplodocus.org Git - nmh/commitdiff
Remove ./configure's --enable-debug support; it did nothing.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 13:39:53 +0000 (14:39 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 13:39:53 +0000 (14:39 +0100)
David on nmh-workers said "that looks like a relic that can be removed".

INSTALL
Makefile.am
configure.ac
docs/contrib/build_nmh
docs/pending-release-notes

diff --git a/INSTALL b/INSTALL
index 6ea100d8d8b0d9bc2bda8729206899053c213b24..c6a4077acc08b83c4dff9e14ab5c76b8c120a6e6 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -195,9 +195,6 @@ Options for configure
 --mandir=DIR     (DEFAULT is ${prefix}/man)
      nmh's man pages are installed here.
 
---enable-debug
-     Enable debugging support.
-
 --with-editor=EDITOR  (DEFAULT is vi)
      specify the full path of the default editor to use.  If this
      option is not given, then the configuration process will search
index 3a04f781da6edb78d82940216f46b21ef9068ef9..7cc5387b2555f715c63b8d93554839b34e5dfcfd 100644 (file)
@@ -744,9 +744,6 @@ rpm: dist
 ## targets because they will be used so infrequently, if at all.
 ##
 gcov:
-       @if ./config.status --config | grep -e --enable-debug >/dev/null; then \
-          echo For best results with gcov, configure without --enable-debug; \
-        fi
        @echo rebuilding with AM_CFLAGS=--coverage . . .
        @(make clean  &&  make AM_CFLAGS=--coverage) > /dev/null  && \
          make check AM_CFLAGS=--coverage
index 4ed79bbccfeb8695d8e8693264878d3cd73cf52c..9a8b997718d21248193d1638cceed334243eff75 100644 (file)
@@ -23,10 +23,6 @@ dnl --------------------------
 dnl CHECK COMMAND LINE OPTIONS
 dnl --------------------------
 
-dnl Do you want to debug nmh?
-AC_ARG_ENABLE([debug],
-  AS_HELP_STRING([--enable-debug],[enable nmh code debugging]))
-
 dnl Do you want client-side support for using SASL for authentication?
 dnl Note that this code will be enabled for both POP and SMTP
 AC_ARG_WITH([cyrus-sasl], AS_HELP_STRING([--with-cyrus-sasl],
index e25d480c768df6675100e7c9f7d6b75a5f5cf4da..73111439d60353658aeeeaed612c5c2810519505 100755 (executable)
@@ -239,7 +239,7 @@ config_opts="--prefix=$config_prefix"
 [ "$config_oauth" = y ]  &&  \
   config_opts="$config_opts --with-oauth"
 [ $config_debug = y ]  &&  \
-  config_opts="$config_opts --enable-debug --enable-assert"
+  config_opts="$config_opts --enable-assert"
 
 #### dotlocking, the usual default, requires chgrp and chmod of inc.
 installpriv=
index b7f6138a63e5d004aed39a6bfade80bee8a95a8b..8e1aa0d7a65169613b5d031cb7b94981268dddba 100644 (file)
@@ -62,6 +62,7 @@ NEW FEATURES
 - Fewer lseek(2)s will be used when reading headers in the common case.
 - Single-character headers can be reliably formatted, etc., instead of
   apparently being missing.
+- ./configure's --enable-debug has been removed;  it did nothing.
 
 -----------------
 OBSOLETE FEATURES