BIND 10 master, updated. 54928776a98b487264994fa61221e4448b5ece79 [master] Merge branch 'trac1558'
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jan 24 14:18:40 UTC 2012
The branch, master has been updated
via 54928776a98b487264994fa61221e4448b5ece79 (commit)
via 5ba668a1fb8e174cf1e3100556b3c9580f41fc5b (commit)
via 9acbd355c22f0c46c6146fb13346b790d5281c35 (commit)
from f0fde33067a3d34dee7638f4212024a5aae735ff (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 54928776a98b487264994fa61221e4448b5ece79
Merge: f0fde33067a3d34dee7638f4212024a5aae735ff 5ba668a1fb8e174cf1e3100556b3c9580f41fc5b
Author: Jelte Jansen <jelte at isc.org>
Date: Tue Jan 24 15:18:14 2012 +0100
[master] Merge branch 'trac1558'
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 28 ++++++++++++++++++----------
1 files changed, 18 insertions(+), 10 deletions(-)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 81ead0c..5121bc2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,16 +48,24 @@ AM_CONDITIONAL(USE_CLANGPP, test "X${CLANGPP}" = "Xyes")
# Linker options
-# check -R rather than gcc specific -rpath to be as portable as possible.
+# check -R and -Wl,-R rather than gcc specific -rpath to be as portable
+# as possible.
AC_MSG_CHECKING([whether -R flag is available in linker])
LDFLAGS_SAVED="$LDFLAGS"
LDFLAGS="$LDFLAGS -R/usr/lib"
AC_TRY_LINK([],[],
- [ AC_MSG_RESULT(yes)
- rpath_available=yes
- ],[ AC_MSG_RESULT(no)
- rpath_available=no
- ])
+ [ AC_MSG_RESULT(yes)
+ rpath_flag=-R
+ ],[ AC_MSG_RESULT(no)
+ AC_MSG_CHECKING([whether -Wl,-R flag is available in linker])
+ LDFLAGS="$LDFLAGS_SAVED -Wl,-R"
+ AC_TRY_LINK([], [],
+ [ AC_MSG_RESULT(yes)
+ rpath_flag=-Wl,-R
+ ],[ AC_MSG_RESULT(no)
+ rpath_flag=no
+ ])
+ ])
LDFLAGS=$LDFLAGS_SAVED
# allow building programs with static link. we need to make it selective
@@ -202,10 +210,10 @@ fi
# modules, we embed the path to the modules when possible. We do this even
# when the path is known in the common operational environment (e.g. when
# it's stored in a common "hint" file) for simplicity.
-if test $rpath_available = yes; then
+if test $rpath_flag != no; then
python_rpath=
for flag in ${PYTHON_LDFLAGS}; do
- python_rpath="${python_rpath} `echo $flag | sed -ne 's/^\(\-L\)/-R/p'`"
+ python_rpath="${python_rpath} `echo $flag | sed -ne "s/^\(\-L\)/${rpath_flag}/p"`"
done
PYTHON_LDFLAGS="${PYTHON_LDFLAGS} ${python_rpath}"
fi
@@ -534,10 +542,10 @@ for flag in ${BOTAN_LIBS}; do
done
# See python_rpath for some info on why we do this
-if test $rpath_available = yes; then
+if test $rpath_flag != no; then
BOTAN_RPATH=
for flag in ${BOTAN_LIBS}; do
- BOTAN_RPATH="${BOTAN_RPATH} `echo $flag | sed -ne 's/^\(\-L\)/-R/p'`"
+ BOTAN_RPATH="${BOTAN_RPATH} `echo $flag | sed -ne "s/^\(\-L\)/${rpath_flag}/p"`"
done
AC_SUBST(BOTAN_RPATH)
More information about the bind10-changes
mailing list