autoconf
[Top][All Lists]
Advanced

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

AC_CHECK_LIB and FreeBSD


From: Brad Douglas
Subject: AC_CHECK_LIB and FreeBSD
Date: Tue, 15 Jan 2002 01:25:51 -0800 (PST)

I use the following in configure.in:

AC_CHECK_LIB(popt, poptGetContext, [AC_CHECK_HEADER(popt.h,,)],               
        AC_MSG_ERROR([popt library is required.]))

This works fine with Linux and Solaris, but FreeBSD is unable to find the 
header or library (they are installed in /usr/local/...).  I've tried 
several variations of the above including checking for the header 
separately.

Does AC_CHECK_LIB/HEADER() not search /usr/local on FreeBSD?  Any help 
would be greatly appreciated.

-Brad





reply via email to

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