Commit 8e5040f4 authored by Francis Dupont's avatar Francis Dupont
Browse files

Finished merge of rt35143 (pass CFLAGS & co down)

parents 5534984b a53c9bf2
......@@ -71,6 +71,11 @@ by Eric Young (eay@cryptsoft.com).
to Jay Ford, University of Iowa for reporting the issue.
[ISC-Bugs #43185]
- Pass configure arguments which begin with an upper case letter, e.g.
CFLAGS, to the embedded bind configure, so it is no longer required
to use environment variables to get the same effect.
[ISC-Bugs #35143]
Changes since 4.3.0 (bug fixes)
- Tidy up several small tickets.
......
......@@ -4475,6 +4475,19 @@ BINDCONFIG=
if test "$cross_compiling" = "yes"; then
BINDCONFIG="--host=$host"
fi
# Pass CFLAGS and co. $ac_configure_args looks like "'arg1' 'arg2' ..."
# and as there can be a space inside an argument some magic is required.
# This sets $1 ... $N to my_configure_args, arg1 ... argN
eval "set my_configure_args $ac_configure_args"
# remove my_configure_args, i.e., the guard against empty $ac_configure_args
shift
# iterate on arguments and copying 'arg' when it begins by an upper case
for a
do
case $a in
[A-Z]*) BINDCONFIG="$BINDCONFIG '$a'" ;;
esac
done
if test "$cross_compiling" = "yes"; then
CROSS_COMPILING_TRUE=
......
......@@ -37,6 +37,19 @@ BINDCONFIG=
if test "$cross_compiling" = "yes"; then
BINDCONFIG="--host=$host"
fi
# Pass CFLAGS and co. $ac_configure_args looks like "'arg1' 'arg2' ..."
# and as there can be a space inside an argument some magic is required.
# This sets $1 ... $N to my_configure_args, arg1 ... argN
eval "set my_configure_args $ac_configure_args"
# remove my_configure_args, i.e., the guard against empty $ac_configure_args
shift
# iterate on arguments and copying 'arg' when it begins by an upper case
for a
do
case $a in
[[A-Z]]*) BINDCONFIG="$BINDCONFIG '$a'" ;;
esac
done
AC_SUBST(BINDCONFIG)
AM_CONDITIONAL(CROSS_COMPILING, test "$cross_compiling" = "yes")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment