autoconf
[Top][All Lists]
Advanced

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

Re: How to treat libraries...


From: Noah Misch
Subject: Re: How to treat libraries...
Date: Tue, 17 Jul 2007 15:22:53 -0700
User-agent: Mutt/1.5.9i

On Mon, Jul 09, 2007 at 09:59:20AM +0200, Stefan Bienert wrote:
> I am using a non standard library of a friend in my C project which is 
> to be statically linked with my stuff.
> Therefore I am invoking the library with
> 
> LIBS="-lm -lz -ldl -lbz2"
> AC_CHECK_LIB([atcore], [ats_new])
> AC_CHECK_LIB([atcore], [ats_delete])
> 
> in configure.ac. First of all: Is that the intended way to do this?
> What should I do to all the other functions from libatcore my program is 
> using? Should they all be tested seperately?

Generally, test just one function.  If some versions of this library lack
particular functions you need, use the rarest function among those for your
test.  Otherwise, just check any one function specific to this library.




reply via email to

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