On Mar 22, 2001, Tom Tromey <[EMAIL PROTECTED]> wrote:
> configure with --enable-shared=libgcc,libgcj to enable just
> those shared libraries.
> However, it turns out that in this same situation, libgcj really needs
> to know whether a shared libgcc is being built.
> Ordinarily I would do this by looking at $enable_shared in configure.
> But it turns out I can't do this because AC_ENABLE_SHARED rewrites
> enable_shared.
Well, you can always copy its value before it's modified... Maybe
AC_ENABLE_SHARED should be modified so as to preserve the original
value elsewhere?
> (And incidentally this means there's no easy way to
> build two libraries in a package one shared and one not. Maybe that's
> a non-problem though.)
Well, there are --tag disable-shared and --tag disable-static, but
indeed, there's no easy way to define them on a per-library basis. If
that's what you want to do, I'd suggest splitting the package.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool