BIND 10 master, updated. 9186edcad7735f16c835bd845572e74f8069f2d3 [master] applied the proposed patch in #633 (fixing clang++ build)
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Feb 28 16:40:12 UTC 2011
The branch, master has been updated
via 9186edcad7735f16c835bd845572e74f8069f2d3 (commit)
from a2dbc20364f13ddd393e51e711db7e5e3bd2551f (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 9186edcad7735f16c835bd845572e74f8069f2d3
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Feb 28 08:39:49 2011 -0800
[master] applied the proposed patch in #633 (fixing clang++ build)
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index d6b9376..06398e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,18 +14,22 @@ AC_PROG_CXX
#
# On FreeBSD (and probably some others), clang++ does not meet an autoconf
# assumption in identifying libtool configuration regarding shared library:
-# the configure script will execute "$CC -shared $CFLAGS -v -o" and expect
-# the output contains -Lxxx or -Ryyy. This is the case for g++, but not for
-# clang++, and, as a result, it will cause various errors in linking programs
-# or running them with a shared object (such as some of our python scripts).
+# the configure script will execute "$CC -shared $CFLAGS/$CXXFLAGS -v" and
+# expect the output contains -Lxxx or -Ryyy. This is the case for g++, but
+# not for clang++, and, as a result, it will cause various errors in linking
+# programs or running them with a shared object (such as some of our python
+# scripts).
# To work around this problem we define a temporary variable
# "CXX_LIBTOOL_LDFLAGS". It's expected to be defined as, e.g, "-L/usr/lib"
# to temporarily fake the output so that it will be compatible with that of
# g++.
CFLAGS_SAVED=$CFLAGS
+CXXFLAGS_SAVED=$CXXFLAGS
CFLAGS="$CFLAGS $CXX_LIBTOOL_LDFLAGS"
+CXXFLAGS="$CXXFLAGS $CXX_LIBTOOL_LDFLAGS"
AC_PROG_LIBTOOL
CFLAGS=$CFLAGS_SAVED
+CXXFLAGS=$CXXFLAGS_SAVED
# Use C++ language
AC_LANG([C++])
More information about the bind10-changes
mailing list