BIND 10 master, updated. e6f86f2f5eec8e6003c13d36804a767a840d96d6 [master] Merge branch 'trac2661'
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Feb 11 21:41:01 UTC 2013
The branch, master has been updated
via e6f86f2f5eec8e6003c13d36804a767a840d96d6 (commit)
via dd447189c8e307c305415a34894c48972cea5a2c (commit)
via 1ec905f87eaebf01ae956b1ec5ac05afbfae9836 (commit)
from 3f272be09aadc78d27333ddeba66ba7e9de25f1f (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 e6f86f2f5eec8e6003c13d36804a767a840d96d6
Merge: 3f272be dd44718
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Feb 11 13:38:22 2013 -0800
[master] Merge branch 'trac2661'
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index eb6f125..dcef042 100644
--- a/configure.ac
+++ b/configure.ac
@@ -313,8 +313,16 @@ AC_SUBST(COMMON_PYTHON_PATH)
if test -x ${PYTHON}-config; then
PYTHON_INCLUDES=`${PYTHON}-config --includes`
- for flag in `${PYTHON}-config --ldflags`; do
- # add any '-L..." flags to PYTHON_LDFLAGS
+ # Add any '-L..." flags to PYTHON_LDFLAGS. We first make a copy of
+ # python-config --ldflags, removing any spaces and tabs
+ # between "-L" and its argument (some instances of python-config
+ # insert a space, which would confuse the code below).
+ # Notes: if -L isn't contained at all we can simply skip this process,
+ # so we only go through the flag if it's contained; also, protecting
+ # the output with [] seems necessary for environment to avoid getting
+ # an empty output accidentally.
+ python_config_ldflags=[`${PYTHON}-config --ldflags | sed -ne 's/\([ \t]*-L\)[ ]*\([^ \t]*[ \t]*\)/\1\2/pg'`]
+ for flag in $python_config_ldflags; do
flag=`echo $flag | sed -ne 's/^\(\-L.*\)$/\1/p'`
if test "X${flag}" != X; then
PYTHON_LDFLAGS="$PYTHON_LDFLAGS ${flag}"
More information about the bind10-changes
mailing list