bug-automake
[Top][All Lists]
Advanced

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

Re: AC_SUBST on xxx_LDADD


From: Davy Durham
Subject: Re: AC_SUBST on xxx_LDADD
Date: Sat, 25 Oct 2003 01:22:36 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630

Alexandre Duret-Lutz wrote:



Yes.  You can always override xxx_DEPENDENCIES in Makefile.am
when what Automake outputs does not please you.

The manual shows some example of this (just search for
_DEPENDENCIES).


Yeah, but I was just wishing that it wouldn't not drop my substitution var. The manual says...

/If/ `prog_DEPENDENCIES' is not supplied, it is computed by Automake. The automatically-assigned value is the contents of `prog_LDADD', with most configure substitutions, `-l', `-L', `-dlopen' and `-dlpreopen' options removed. The configure substitutions that are left in are only address@hidden@' and address@hidden@'; these are left because it is known that they will not cause an invalid value for `prog_DEPENDENCIES' to be generated.

Perhaps there should be a way of indicating NOT to leave out a @abc@ var when building prog_DEPENDENCIES by prefixing it with a address@hidden@ in prog_LDADD or something that means 'leave it in; I'm asserting that this will not be an invalid dependancy'.








reply via email to

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