Andreas Schwab writes:
 > Ian Lance Taylor <ian@airs.com> writes:
 > 
 > > Andrew Haley <[EMAIL PROTECTED]> writes:
 > >
 > >> Ian Lance Taylor writes:
 > >>  > 
 > >>  > And, yes, we clearly need to do something about the libjava build.
 > >> 
 > >> OK, I know nothing about libtool so this might not be possible, but
 > >> IMO the easiest way of making a dramatic difference is to cease to
 > >> compile every file twice, once with PIC and once without.  There would
 > >> be a small performance regression for statically linked Java apps, but
 > >> in practice Java is very hard to use with static linkage.
 > >
 > > Try putting
 > >
 > > enable_shared=no
 > >
 > > in configure.ac somewhere before AC_PROG_LIBTOOL.
 > 
 > I think you rather want AC_DISABLE_STATIC.

Won't that disable static libraries?  I don't want to do that.

Andrew.

Reply via email to