(Hm...  It seems that this was never actually sent!  Sorry for the
duplication, but this one has more details).




I think the documentation and the behavior of AC_DISABLE_STATIC do not
match.  I read:

  @item disable-static
  Change the default behaviour for @code{LT_INIT} to disable
  static libraries.  The user may still override this default by
  specifying @option{--enable-static} to @command{configure}.
  
But when I pass disable-static, the code to generate static library is
not even issued in configure!  In ltoptions.m4, one reads

  _LT_UNLESS_OPTIONS([static disable-static], [_LT_ENABLE_STATIC])

with

  m4_define([_LT_ENABLE_STATIC],
  [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  AC_ARG_ENABLE([static],
  
i.e., _LT_ENABLE_STATIC is there to install --enable-static, but
_LT_UNLESS_OPTIONS won't expand it.

Thanks!

(This is CVS Libtool).



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

Reply via email to