From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26274 invoked by alias); 16 Jul 2011 06:07:13 -0000 Received: (qmail 26257 invoked by uid 22791); 16 Jul 2011 06:07:12 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_IB X-Spam-Check-By: sourceware.org Received: from mailout-de.gmx.net (HELO mailout-de.gmx.net) (213.165.64.22) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sat, 16 Jul 2011 06:06:57 +0000 Received: (qmail 19664 invoked by uid 0); 16 Jul 2011 06:06:55 -0000 Received: from 77.58.247.232 by www025.gmx.net with HTTP; Sat, 16 Jul 2011 08:06:53 +0200 (CEST) Cc: Jakub Jelinek , java-patches@gcc.gnu.org, GCC Patches Content-Type: text/plain; charset="utf-8" Date: Sat, 16 Jul 2011 06:07:00 -0000 From: "Ralf Wildenhues" In-Reply-To: <4E1875CA.9050309@ubuntu.com> Message-ID: <20110716060653.122290@gmx.net> MIME-Version: 1.0 References: <4E15DE84.5030809@ubuntu.com> <4E15E3F6.3050502@cavium.com> <4E15E56E.4070209@ubuntu.com> <4E15E6AF.4050508@cavium.com> <4E15F34D.7050800@redhat.com> <4E16158D.3060206@ubuntu.com> <20110707202659.GT2687@tyan-ft48-01.lab.bos.redhat.com> <20110707203554.280270@gmx.net> <4E1875CA.9050309@ubuntu.com> Subject: Re: [patch] Disable static build for libjava To: Matthias Klose X-Mutt-Fcc: ~/Mail/outbox X-Mutt-References: <4E1875CA.9050309@ubuntu.com> Content-Transfer-Encoding: 8bit Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2011-q3/txt/msg00021.txt.bz2 * Matthias Klose wrote on Sat, Jul 09, 2011 at 05:37:46PM CEST: > On 07/07/2011 10:35 PM, Ralf Wildenhues wrote: > > On Thu, Jul 07, 2011 at 10:26:59PM +0200, Jakub Jelinek wrote: > >> On Thu, Jul 07, 2011 at 10:22:37PM +0200, Matthias Klose wrote: > >>> +AC_PROG_LIBTOOL > > > > This tests the wrong compiler and toolchain. The compiler you want > > to test doesn't exist yet at the time this configure script is run. > > So you might as well deduce the switch you need from a fixed set or > > other GCC configure data. > > > > Or you put AC_PROG_LIBTOOL in libjava/ but pass down the value of > > enable_static_libjava as --en/disable-static there. > > here is the updated patch. AC_PROG_LIBTOOL is already called in libjava/ > > ok to install? OK, thanks. Cheers, Ralf > > > 2011-07-09 Matthias Klose > > * Makefile.tpl (EXTRA_CONFIGARGS_LIBJAVA): Define. > * Makefile.def (target_modules/libjava): Pass > $(EXTRA_CONFIGARGS_LIBJAVA). > * configure.ac: Pass --disable-static in EXTRA_CONFIGARGS_LIBJAVA, > if not configured with --enable-static-libjava. > * Makefile.in: Regenerate. > * configure: Likewise. > > > gcc/ > > 2011-07-09 Matthias Klose > > * doc/install.texi: Document --enable-static-libjava.