aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-03-31 05:44:01 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-03-31 05:44:01 +0000
commita9ef41a7031440db3037fca8e96c1a49be0b1ced (patch)
tree06b6cd95ca60722b1856e7e598186ddc172d975e
parentbfbff9eb7dbc37b6d8f4220212ee1e30fac6297b (diff)
downloadgdb-a9ef41a7031440db3037fca8e96c1a49be0b1ced.zip
gdb-a9ef41a7031440db3037fca8e96c1a49be0b1ced.tar.gz
gdb-a9ef41a7031440db3037fca8e96c1a49be0b1ced.tar.bz2
Fix toplevel configure --enable-multilib handling.
/: PR bootstrap/43328 * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate.
-rw-r--r--ChangeLog8
-rwxr-xr-xconfigure11
-rw-r--r--configure.ac11
3 files changed, 24 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index cf2d209..027f923 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ PR bootstrap/43328
+ * configure.ac: Do not pass --enable-multilib nor
+ --disable-multilib in baseargs. Accept explicitly passed
+ --enable_multilib.
+ * configure: Regenerate.
+
2010-03-23 Joseph Myers <joseph@codesourcery.com>
* configure.ac (tic6x-*-*): New case.
diff --git a/configure b/configure
index c2c406e..d885973 100755
--- a/configure
+++ b/configure
@@ -7778,6 +7778,9 @@ do
skip_next=$separate_arg
continue
;;
+ --enable-multilib | --disable-multilib)
+ continue
+ ;;
-*)
# An option. Add it.
case $ac_arg in
@@ -7846,10 +7849,12 @@ if test x${is_cross_compiler} = xyes ; then
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi
-# Default to --enable-multilib.
-if test x${enable_multilib} = x ; then
+# Pass --enable-multilib to target dirs; default to --enable-multilib.
+case $enable_multilib in
+'' | yes)
target_configargs="--enable-multilib ${target_configargs}"
-fi
+ ;;
+esac
# Pass --with-newlib if appropriate. Note that target_configdirs has
# changed from the earlier setting of with_newlib.
diff --git a/configure.ac b/configure.ac
index 72407f8..55e9998 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2882,6 +2882,9 @@ do
skip_next=$separate_arg
continue
;;
+ --enable-multilib | --disable-multilib)
+ continue
+ ;;
-*)
# An option. Add it.
case $ac_arg in
@@ -2950,10 +2953,12 @@ if test x${is_cross_compiler} = xyes ; then
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi
-# Default to --enable-multilib.
-if test x${enable_multilib} = x ; then
+# Pass --enable-multilib to target dirs; default to --enable-multilib.
+case $enable_multilib in
+'' | yes)
target_configargs="--enable-multilib ${target_configargs}"
-fi
+ ;;
+esac
# Pass --with-newlib if appropriate. Note that target_configdirs has
# changed from the earlier setting of with_newlib.