This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: two binaries with different libraries
- From: Andreas Schwab <schwab at suse dot de>
- To: Frederik dot Fouvry at CoLi dot Uni-SB dot DE
- Cc: automake at gnu dot org
- Date: Tue, 31 Aug 2004 21:56:43 +0200
- Subject: Re: two binaries with different libraries
- References: <20040831173616.E9B8E10B35@cc.at.coli.uni-sb.de>
Frederik Fouvry <fouvry@CoLi.Uni-SB.DE> writes:
> - I use *_LDADD. In that case, as far as I know, I cannot check
> for the libraries in the configuration anymore. Is it sensible
> to add AC_SUBST(program_LDADD) in configure.ac?
Let autoconf define and substitute a variable for each library to be
checked for and use the appropriate @LIBFOO@ in the definition for each
program_LDADD.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."