>>> "Bob" == Bob Friesenhahn <[EMAIL PROTECTED]> 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.



_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to