Fix toplevel configure --enable-multilib handling.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 31 Mar 2010 05:44:01 +0000 (05:44 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 31 Mar 2010 05:44:01 +0000 (05:44 +0000)
/:
PR bootstrap/43328
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs.  Accept explicitly passed
--enable_multilib.
* configure: Regenerate.

ChangeLog
configure
configure.ac

index cf2d209d0442c78abdbec44d741d63aa82e74393..027f923376aa0b1b77a39a8bc76c455abf3ad2f3 100644 (file)
--- 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.
index c2c406e7334ed4f879d46ea3ce4752a52315506f..d885973ce6f84c32062262f5ef97978578a2748a 100755 (executable)
--- 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.
index 72407f86878077893d929a9ae6faa8ab74baf404..55e99980adc987c370b6cfaa420a6ddf9a01882d 100644 (file)
@@ -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.