automake
[Top][All Lists]
Advanced

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

Re: AC_REPLACE_FUNCS


From: Alexandre Duret-Lutz
Subject: Re: AC_REPLACE_FUNCS
Date: Sun, 06 Apr 2003 21:28:35 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

>>> "Bill" == Bill Moseley <address@hidden> writes:

 Bill> Along the same lines as conditinal linking, what would be
 Bill> the recommended way to do AC_REPLACE_FUNCS() when
 Bill> building multiple libraries?

 Bill> For example:

 Bill> AC_REPLACE_FUNCS(vsnprintf mkstemp)

 Bill> but vsnprintf needs to be added to one library, and
 Bill> mkstemp to another, so I can't use $(LTLIBOBJS) on both
 Bill> libraries (which are both linked into the same
 Bill> executable).

Then you shouldn't use AC_REPLACE_FUNCS, but a wrapper around
AC_CHECK_FUNC that updates your own (LT)LIBOBJS-like variable.
-- 
Alexandre Duret-Lutz





reply via email to

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