From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8922 invoked by alias); 8 Apr 2010 19:44:36 -0000 Received: (qmail 8902 invoked by uid 22791); 8 Apr 2010 19:44:35 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 08 Apr 2010 19:44:30 +0000 Received: (qmail invoked by alias); 08 Apr 2010 19:44:25 -0000 Received: from xdsl-89-0-173-168.netcologne.de (EHLO localhost.localdomain) [89.0.173.168] by mail.gmx.net (mp009) with SMTP; 08 Apr 2010 21:44:25 +0200 Received: from ralf by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1NzxeL-0004jD-3p; Thu, 08 Apr 2010 21:44:25 +0200 Date: Thu, 08 Apr 2010 19:44:00 -0000 From: Ralf Wildenhues To: binutils@sourceware.org, gdb-patches@sourceware.org Cc: DJ Delorie Subject: Re: [PATCH] Fix toplevel configure --enable-multilib handling (PR bootstrap/43328) Message-ID: <20100408194424.GA18122@gmx.de> References: <20100313093157.GA11397@gmx.de> <20100330184945.GC32187@gmx.de> <201003301930.o2UJU93c016403@greed.delorie.com> <20100401163649.GA20241@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100401163649.GA20241@gmx.de> User-Agent: Mutt/1.5.20 (2009-10-28) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00088.txt.bz2 FYI, I'm syncing this patch from GCC to src. Thanks, Ralf 2010-04-08 Ralf Wildenhues Merge from gcc: PR bootstrap/43615 PR bootstrap/43328 Revert: 2010-03-31 Ralf Wildenhues * 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.