[patch] Disable static build for libjava

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Sat Jul 16 06:07:00 GMT 2011


* 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

> <toplevel>
> 
> 2011-07-09  Matthias Klose  <doko@ubuntu.com>
> 
> 	* 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  <doko@ubuntu.com>
> 
> 	* doc/install.texi: Document --enable-static-libjava.



More information about the Java-patches mailing list