This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix toplevel configure --enable-multilib handling (PR bootstrap/43328)
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: binutils at sourceware dot org, gdb-patches at sourceware dot org
- Cc: DJ Delorie <dj at redhat dot com>
- Date: Thu, 8 Apr 2010 21:44:25 +0200
- Subject: Re: [PATCH] Fix toplevel configure --enable-multilib handling (PR bootstrap/43328)
- References: <20100313093157.GA11397@gmx.de> <20100330184945.GC32187@gmx.de> <201003301930.o2UJU93c016403@greed.delorie.com> <k2i84fc9c001004010619j6b37c9fer6a3ace667cdc7b7c@mail.gmail.com> <20100401163649.GA20241@gmx.de>
FYI, I'm syncing this patch from GCC to src.
Thanks,
Ralf
2010-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Merge from gcc:
PR bootstrap/43615
PR bootstrap/43328
Revert:
2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs. Accept explicitly passed
--enable_multilib.
* configure: Regenerate.
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/configure.ac,v
retrieving revision 1.99
diff -u -r1.99 configure.ac
--- configure.ac 31 Mar 2010 05:44:01 -0000 1.99
+++ configure.ac 8 Apr 2010 19:42:18 -0000
@@ -2882,9 +2882,6 @@
skip_next=$separate_arg
continue
;;
- --enable-multilib | --disable-multilib)
- continue
- ;;
-*)
# An option. Add it.
case $ac_arg in
@@ -2953,12 +2950,10 @@
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi
-# Pass --enable-multilib to target dirs; default to --enable-multilib.
-case $enable_multilib in
-'' | yes)
+# Default to --enable-multilib.
+if test x${enable_multilib} = x ; then
target_configargs="--enable-multilib ${target_configargs}"
- ;;
-esac
+fi
# Pass --with-newlib if appropriate. Note that target_configdirs has
# changed from the earlier setting of with_newlib.