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.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to