[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_DISABLE_STATIC
From: |
Ralf Wildenhues |
Subject: |
Re: AC_DISABLE_STATIC |
Date: |
Sat, 18 Jun 2005 14:47:19 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi Akim, Bob, others,
* Akim Demaille wrote on Mon, Jun 13, 2005 at 04:52:15PM CEST:
> >>> "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.
*snip*
>
> The solution is simple: AC_DISABLE_STATIC is just
>
> : ${enable_static=no}
>
> and similarly for SHARED.
(El cheapo comment without actually trying to reproduce it myself:)
Does it solve the problem Bob described?
branch-2-0 would be affected as well, I believe.
Anybody tried branch-1-5 (from a glimpse at the source it seems
unaffected)?
Thanks,
Ralf