BIND 10 trac1442, updated. 7019db2a44f39897486eea618f4447c37dbabcf8 [1442] also temporarily set ldflags and cppflags for configure test
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Nov 30 15:30:36 UTC 2011
The branch, trac1442 has been updated
via 7019db2a44f39897486eea618f4447c37dbabcf8 (commit)
from 9df50bec4e691dc8cb724547659fb71caad656ab (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 7019db2a44f39897486eea618f4447c37dbabcf8
Author: Jelte Jansen <jelte at isc.org>
Date: Wed Nov 30 07:30:07 2011 -0800
[1442] also temporarily set ldflags and cppflags for configure test
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index d7a2657..22382e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -727,6 +727,10 @@ then
# On some systems, there is no gtest-config script, which is supposed
# to inform us whether we need -lpthread as well (a gtest compile-time
# option). So we still need to test that manually.
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $GTEST_INCLUDES"
+ LDFLAGS_SAVED="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $GTEST_LDFLAGS"
LIBS_SAVED=$LIBS
LIBS="$LIBS $GTEST_LDADD"
AC_MSG_CHECKING([Checking whether gtest tests need -lpthread])
@@ -757,6 +761,8 @@ then
# Apparently we can't compile it at all
[ AC_MSG_ERROR(unable to compile with gtest) ])
])
+ CPPFLAGS=$CPPFLAGS_SAVED
+ LDFLAGS=$LDFLAGS_SAVED
LIBS=$LIBS_SAVED
else
GTEST_INCLUDES=
More information about the bind10-changes
mailing list