[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_DISABLE_STATIC
From: |
Akim Demaille |
Subject: |
Re: AC_DISABLE_STATIC |
Date: |
Mon, 13 Jun 2005 16:52:15 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
>>> "Bob" == Bob Friesenhahn <address@hidden> writes:
> On Fri, 10 Jun 2005, Akim Demaille wrote:
>> >> AFAICS, from the source and its effect on configure, AC_DISABLE_STATIC
>> >> *permanently* disables the possibility to create static library. The
>> >> documentation says it changes the *default* value for --disable-static.
>>
>> > Apparently this leads to some problems. For example, if the user
>> > selects --enable-shared --disable-static and something is unable to
>> > build as shared, then the build simply fails. I learned this the hard
>> > way under Cygwin and MinGW.
>>
>> I'm unsure I understand what you're actually suggesting: that the
>> documented use should not be implemented? It seems to me that
>> implementing it actually allows the installer to change the default
>> behavior, while having a static AC_DISABLE_STATIC prevents any form of
>> late decision. (But that might be what you were pointing out :)
> I am agreeing with you that there is a real problem!!!
The solution is simple: AC_DISABLE_STATIC is just
: ${enable_static=no}
and similarly for SHARED.