This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: libfoo.la is already going to be installed in lib.
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Harlan Stenn <Harlan dot Stenn at pfcs dot com>
- Cc: automake at gnu dot org, libtool at gnu dot org
- Date: 22 Sep 2002 16:43:23 +0200
- Subject: Re: libfoo.la is already going to be installed in lib.
- References: <34670.1032571179@puss.pfcs.com>
>>> "Harlan" == Harlan Stenn <Harlan.Stenn@pfcs.com> writes:
Harlan> This appears to be aproblem with libtool+automake; if I
Harlan> use a static library (no libtool) I don't see this
Harlan> problem.
Unless I'm mistaken, you already submitted this one as PR automake/350.
Harlan> Is there a workaround/bugfix?
Here is a workaround. Define FOO_AB as "FOO_A or FOO_B"":
AM_CONDITIONAL(FOO_AB, test x"$FOO" = xa || test x"$FOO" = xb)
then use FOO_AB to define lib_LTLIBRARIES in a single place.
--
Alexandre Duret-Lutz