Can AC_CHECK_LIB be used for unconventionally named libraries?

Posted by aleph on Stack Overflow See other posts from Stack Overflow or by aleph
Published on 2010-04-26T08:18:31Z Indexed on 2010/04/26 8:23 UTC
Read the original article Hit count: 187

Filed under:
|

AC_CHECK_LIB accepts as an argument the base name of the shared library that you want to check for. So for a library named "libxyz.so" you would specify the base name of the library "xyz" as an argument to AC_CHECK_LIB. If I have a library named xyz.so (Note: Not libxyz.so), how do I check for the availability/usability of this library with autoconf ?

© Stack Overflow or respective owner

Related posts about autoconf

Related posts about autotools