Commit 2a67682d authored by Francis Dupont's avatar Francis Dupont
Browse files

explained the (hard) way it is done

parent e1fa07c1
...@@ -4475,8 +4475,13 @@ BINDCONFIG= ...@@ -4475,8 +4475,13 @@ BINDCONFIG=
if test "$cross_compiling" = "yes"; then if test "$cross_compiling" = "yes"; then
BINDCONFIG="--host=$host" BINDCONFIG="--host=$host"
fi 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" eval "set my_configure_args $ac_configure_args"
# remove my_configure_args, i.e., the guard against empty $ac_configure_args
shift shift
# iterate on arguments and copying 'arg' when it begins by an upper case
for a for a
do do
case $a in case $a in
......
...@@ -37,8 +37,13 @@ BINDCONFIG= ...@@ -37,8 +37,13 @@ BINDCONFIG=
if test "$cross_compiling" = "yes"; then if test "$cross_compiling" = "yes"; then
BINDCONFIG="--host=$host" BINDCONFIG="--host=$host"
fi 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" eval "set my_configure_args $ac_configure_args"
# remove my_configure_args, i.e., the guard against empty $ac_configure_args
shift shift
# iterate on arguments and copying 'arg' when it begins by an upper case
for a for a
do do
case $a in case $a in
......
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