bug-automake
[Top][All Lists]
Advanced

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

AC_SUBST on xxx_LDADD


From: Davy Durham
Subject: AC_SUBST on xxx_LDADD
Date: Wed, 22 Oct 2003 00:03:13 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630

Hey, problem,

I'm using a @ABC@ directive in the xxx_LDADD value in my Makefile.am

I conditionally build a convenience library depending on what's found during configure. So I either set ABC to something if I'm going to build the lib or set it to nothing if not.

However when the xxx_DEPENDENCIES value is generated in Makefile.in (and of course on to Makefile) the substituted value is never included (and the @ABC@ is missing as well, not as if it just didn't get substituted by the AC_SUBST).

Is this a know issue? Is there a work-around? Currently I'm just editing the Makefile and adding what's necessary to the xxx_DEPENDENCIES value. If I don't then changing source in the lib doesn't cause the main application to re-link even though the lib is rebuilt (because of the changed source).

If you care to look at source...
http://cvs.sourceforge.net/viewcvs.py/rezound/rezound/
./configure.ac  -- MAYBE_LADSPA_LIB is the ABC of @ABC@ above
./src/frontend_fox/Makefile.am contains the use of @ABC@ in rezound_LDADD
./src/backend/LADSPA is the directory of the lib that might or might not be built. [Note: I'm *just* checking this in and sourceforge's anonymous CVS stuff may be a little slow to update]

Thanks,
  Davy







reply via email to

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