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:
>
> [EMAIL PROTECTED]@.la
>
> [EMAIL PROTECTED]@_la_CPPFLAGS=-I$(top_builddir)/src
> ...
>
>
> Fails to work.

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


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to