From patchwork Mon Mar 28 11:34:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 88593 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 011F7B6FC7 for ; Mon, 28 Mar 2011 22:34:38 +1100 (EST) Received: (qmail 26764 invoked by alias); 28 Mar 2011 11:34:31 -0000 Received: (qmail 26635 invoked by uid 22791); 28 Mar 2011 11:34:30 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, TW_BF, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Mar 2011 11:34:26 +0000 Received: (qmail 8559 invoked from network); 28 Mar 2011 11:34:25 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Mar 2011 11:34:25 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Q4AiF-0005fw-I1; Mon, 28 Mar 2011 11:34:23 +0000 Date: Mon, 28 Mar 2011 11:34:23 +0000 (UTC) From: "Joseph S. Myers" To: Paolo Bonzini cc: gcc-patches@gcc.gnu.org, dj@redhat.com, neroden@gcc.gnu.org, aoliva@redhat.com, Ralf.Wildenhues@gmx.de Subject: Re: More toplevel configure.ac pruning In-Reply-To: <4D8C7FAB.7050303@gnu.org> Message-ID: References: <4D8C498B.7050200@gnu.org> <4D8C7FAB.7050303@gnu.org> MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org On Fri, 25 Mar 2011, Paolo Bonzini wrote: > > Remark: disabling "newlib" (as opposed to target-newlib) for a host seems > > odd, as does disabling "libffi". So maybe the code disabling directories > > for host can be simplified even more. > > Yes, newlib and libffi should never be built as host modules anyway. > > $ grep all-newlib ../../Makefile.in > $ In that case, OK to commit this patch (cleaning up settings that as discussed should never have any effect anyway)? 2011-03-28 Joseph Myers * configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disable libffi on host. (x86_64-*-mingw*, i[[3456789]]86-*-mingw32*): Don't disable newlib on host. (c54x*-*-* | tic54x-*-*): Don't disable newlib on target. * configure: Regenerate. Index: configure.ac =================================================================== --- configure.ac (revision 171601) +++ configure.ac (working copy) @@ -422,14 +422,8 @@ case "${host}" in i[[3456789]]86-*-msdosdjgpp*) - noconfigdirs="$noconfigdirs tcl tk itcl libffi" + noconfigdirs="$noconfigdirs tcl tk itcl" ;; - x86_64-*-mingw*) - noconfigdirs="$noconfigdirs newlib" - ;; - i[[3456789]]86-*-mingw32*) - noconfigdirs="$noconfigdirs newlib" - ;; esac @@ -680,7 +674,7 @@ noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}" ;; c54x*-*-* | tic54x-*-*) - noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib" + noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb" ;; cr16-*-*) noconfigdirs="$noconfigdirs ${libgcj} gdb"