On 07/07/2011 10:35 PM, Ralf Wildenhues wrote: > Hi Matthias, > > 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? Matthias