From e1fa07c1bf9a7bd43d6e11a494860edfb2b6b6de Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Fri, 16 Sep 2016 23:39:34 +0200 Subject: [PATCH] transmit [A-Z]* configure arguments down --- configure | 8 ++++++++ configure.ac | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/configure b/configure index 4f4552f0..8f58b1f5 100755 --- a/configure +++ b/configure @@ -4475,6 +4475,14 @@ BINDCONFIG= if test "$cross_compiling" = "yes"; then BINDCONFIG="--host=$host" fi +eval "set my_configure_args $ac_configure_args" +shift +for a +do + case $a in + [A-Z]*) BINDCONFIG="$BINDCONFIG '$a'" ;; + esac +done if test "$cross_compiling" = "yes"; then CROSS_COMPILING_TRUE= diff --git a/configure.ac b/configure.ac index 8b58835c..ca460802 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,14 @@ BINDCONFIG= if test "$cross_compiling" = "yes"; then BINDCONFIG="--host=$host" fi +eval "set my_configure_args $ac_configure_args" +shift +for a +do + case $a in + [[A-Z]]*) BINDCONFIG="$BINDCONFIG '$a'" ;; + esac +done AC_SUBST(BINDCONFIG) AM_CONDITIONAL(CROSS_COMPILING, test "$cross_compiling" = "yes")