BIND 10 master, updated. 904601920fec509d9d28759fa03e1f8108ee4079 [master] portability fix and unset werror_ok fix
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jan 21 18:01:08 UTC 2014
The branch, master has been updated
via 904601920fec509d9d28759fa03e1f8108ee4079 (commit)
from acc4ba201116d19be4f9d6389461088e6c89b3ea (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 904601920fec509d9d28759fa03e1f8108ee4079
Author: Jeremy C. Reed <jreed at isc.org>
Date: Tue Jan 21 11:58:56 2014 -0600
[master] portability fix and unset werror_ok fix
This is for ticket 2945.
Don't use grep -q (not portable).
Also use quotes around "$werror_ok" just in test just in case is unset.
No changelog message as it appears it worked before but was just noisy.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 336fbdc..1c239a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,7 @@ AM_CONDITIONAL(USE_CLANGPP, test "X${CLANGPP}" = "Xyes")
dnl Determine if weare using GNU sed
GNU_SED=no
-$SED --version 2> /dev/null | grep -q GNU
+$SED --version 2> /dev/null | grep GNU > /dev/null 2>&1
if test $? -eq 0; then
GNU_SED=yes
fi
@@ -445,7 +445,7 @@ fi
# Python 3.2 has an unused parameter in one of its headers. This
# has been reported, but not fixed as of yet, so we check if we need
# to set -Wno-unused-parameter.
-if test "X$GXX" = "Xyes" -a $werror_ok = 1; then
+if test "X$GXX" = "Xyes" -a "$werror_ok" = 1; then
CPPFLAGS_SAVED="$CPPFLAGS"
CPPFLAGS=${PYTHON_INCLUDES}
CXXFLAGS_SAVED="$CXXFLAGS"
More information about the bind10-changes
mailing list