From: Willem Toorop Date: Fri, 3 Jan 2014 12:48:05 +0000 (+0100) Subject: Printing to stderr is off by default X-Git-Tag: release-1.6.17rc1^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96ca710b6546a8a97ac612567c53537d16290013;p=thirdparty%2Fldns.git Printing to stderr is off by default --- diff --git a/Changelog b/Changelog index f3749a89..448069f6 100644 --- 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 diff --git a/configure.ac b/configure.ac index c98fecab..5f25c7dc 100644 --- a/configure.ac +++ b/configure.ac @@ -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