[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, 06 Jun 2005 11:31:06 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
(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).