Re: How to treat libraries...

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

 



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.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux