]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Printing to stderr is off by default release-1.6.17rc1
authorWillem Toorop <willem@nlnetlabs.nl>
Fri, 3 Jan 2014 12:48:05 +0000 (13:48 +0100)
committerWillem Toorop <willem@nlnetlabs.nl>
Fri, 3 Jan 2014 12:48:05 +0000 (13:48 +0100)
Changelog
configure.ac

index f3749a89cc51e68dbc718a3859ee8095d20e63f7..448069f60ab2448e3c812813d5ae87303e8549f7 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -53,7 +53,8 @@
        * bugfix #505: Manpage and usage output fixes (Thanks Tomas Hozza)
        * Adjust ldns_sha1() so that the input data is not modified (Thanks
          Marc Buijsman)
-       * Disable printing to stderr with --disable-stderr-msgs configure option
+       * Messages to stderr are now off by default and can be reenabled with
+         the --enable-stderr-msgs configure option.
 
 1.6.16 2012-11-13
        * Fix Makefile to build pyldns with BSD make
index c98fecab65f259ce039bf8ae83bf5f6158fc8487..5f25c7dc4236f415c28272ba2f6a1be69364e5aa 100644 (file)
@@ -171,11 +171,11 @@ else
 fi
 
 # add option to disable library printing to stderr
-AC_ARG_ENABLE(stderr-msgs, AC_HELP_STRING([--disable-stderr-msgs], [Disable printing to stderr]), enable_stderr_msgs=$enableval, enable_stderr_msgs=yes)
+AC_ARG_ENABLE(stderr-msgs, AC_HELP_STRING([--enable-stderr-msgs], [Enable printing to stderr (default=disabled)]), enable_stderr_msgs=$enableval, enable_stderr_msgs=no)
 case "$enable_stderr_msgs" in
-    no)
+    no) dnl default
         ;;
-    *)  dnl default
+    *)  
         AC_DEFINE_UNQUOTED([STDERR_MSGS], [1], [Define this to enable messages to stderr.])
         ;;
 esac