Re: AC_CHECK_LIB for C++ libraries

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

 



On 11/2/12 9:04 PM, Jan Mikelson wrote:
Hey everyone,

I am currently writing configure.ac and Makefile.am files for a project
I have been working on. The project consists of some C++ shared
libraries and one executable. If they were C libraries I could just use

AC_CHECK_LIB([lib1], [function1])

to check whether the library lib1 is available. This does not work with
C++ libraries. Is there a similar way of doing this for C++ libraries? I
could not find anything helpful online and would appreciate any help!
Thanks a lot!

I've used AC_LINK_IFELSE to check for C++ libs.

Cheers,
Peter


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://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