Commit 9db4e878 by Ralf Wildenhues Committed by Ralf Wildenhues

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.

From-SVN: r157851
parent dc12b70e
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-28 Andrew Pinski <pinskia@gmail.com> 2010-03-28 Andrew Pinski <pinskia@gmail.com>
* MAINTAINERS (spu port): Remove me. * MAINTAINERS (spu port): Remove me.
......
...@@ -7778,6 +7778,9 @@ do ...@@ -7778,6 +7778,9 @@ do
skip_next=$separate_arg skip_next=$separate_arg
continue continue
;; ;;
--enable-multilib | --disable-multilib)
continue
;;
-*) -*)
# An option. Add it. # An option. Add it.
case $ac_arg in case $ac_arg in
...@@ -7846,10 +7849,12 @@ if test x${is_cross_compiler} = xyes ; then ...@@ -7846,10 +7849,12 @@ if test x${is_cross_compiler} = xyes ; then
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}" target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi fi
# Default to --enable-multilib. # Pass --enable-multilib to target dirs; default to --enable-multilib.
if test x${enable_multilib} = x ; then case $enable_multilib in
'' | yes)
target_configargs="--enable-multilib ${target_configargs}" target_configargs="--enable-multilib ${target_configargs}"
fi ;;
esac
# Pass --with-newlib if appropriate. Note that target_configdirs has # Pass --with-newlib if appropriate. Note that target_configdirs has
# changed from the earlier setting of with_newlib. # changed from the earlier setting of with_newlib.
......
...@@ -2882,6 +2882,9 @@ do ...@@ -2882,6 +2882,9 @@ do
skip_next=$separate_arg skip_next=$separate_arg
continue continue
;; ;;
--enable-multilib | --disable-multilib)
continue
;;
-*) -*)
# An option. Add it. # An option. Add it.
case $ac_arg in case $ac_arg in
...@@ -2950,10 +2953,12 @@ if test x${is_cross_compiler} = xyes ; then ...@@ -2950,10 +2953,12 @@ if test x${is_cross_compiler} = xyes ; then
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}" target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi fi
# Default to --enable-multilib. # Pass --enable-multilib to target dirs; default to --enable-multilib.
if test x${enable_multilib} = x ; then case $enable_multilib in
'' | yes)
target_configargs="--enable-multilib ${target_configargs}" target_configargs="--enable-multilib ${target_configargs}"
fi ;;
esac
# Pass --with-newlib if appropriate. Note that target_configdirs has # Pass --with-newlib if appropriate. Note that target_configdirs has
# changed from the earlier setting of with_newlib. # changed from the earlier setting of with_newlib.
......
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