autoconf
[Top][All Lists]
Advanced

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

Re: question regarding AC_CHECK_LIB


From: Sander Niemeijer
Subject: Re: question regarding AC_CHECK_LIB
Date: Mon, 3 Jan 2005 17:24:21 +0100

2.Morever by default AC_CHECK_LIB looks for dynamic libraries.How do I
specify that I should look for a static library.

AC_CHECK_LIB looks for both static and dynamic libraries. If you wish to find only static libraries, you could determine the compiler flag(s) that do what `-static' does for gcc and add them to LDFLAGS for the AC_CHECK_LIB. It is
probably easiest to harness Libtool for that.

If you want to use libtool for your autoconf tests, then it may be good to know about the following issue:

<http://lists.gnu.org/archive/html/libtool/2004-11/msg00372.html>

Best regards,
Sander Niemeijer





reply via email to

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