libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool -release and static libraries.


From: Alexandre Duret-Lutz
Subject: Re: Libtool -release and static libraries.
Date: Thu, 16 Feb 2006 15:55:44 +0100

On Thu, Feb 16, 2006 at 04:22:24PM +1100, Brendon Costa wrote:
>
> The configure script exports the following two variables for use in
> automake that help with versioning:
>
>       PACKAGE_VERSION  1.0.6
>       PACKAGE_VERSION_UNDERSCORE  1_0_6
>

Sorry, that makes no sense : the substitutions are done at configure time,
Automake is run earlier and will never know their values.

> However in the automake files I am unable to use these variables for
> substitution on the left side of the = sign. I.e:
>
> address@hidden@.la
>
> address@hidden@_la_CPPFLAGS=-I$(top_builddir)/src
> ...
>
>
> Fails to work.

Take the string "address@hidden@.la" (that's what
Automake reads).  To canonize it, replace characters that are neither
alphanumeric nor strudels by underscores.  That gives
"address@hidden@_la".  So your second variable should
be "address@hidden@_la_CPPFLAGS".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]