autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_LIB on C++ library help?


From: Braden McDaniel
Subject: Re: AC_CHECK_LIB on C++ library help?
Date: Sat, 08 Mar 2003 22:30:03 -0500

On Sat, 2003-03-08 at 21:51, Bob Lockie wrote:
> I do the following and it works (xmms is a C library with documentation).
>      AC_CHECK_LIB( xmms, xmms_remote_get_version, , enable_xmms=no )
> 
> 
> The problem is I want to see if libnoatun is present.
> There is some documentation on classes and such but I don't know
> how to call AC_CHECK_LIB if I only know the classes and methods.
> 
> My guess of:
>      AC_CHECK_LIB( noatun, NoatunApp::preferences, , enable_noatun=no )
> doesn't work.
> The API documentation is at: http://noatun.kde.org/doc/api-2.0
> Hopefully someone understands what I'm trying to do and can help.

I believe you need to use AC_TRY_LINK for C++ libraries.

-- 
Braden McDaniel                           e-mail: <address@hidden>
<http://endoframe.com>                    Jabber: <address@hidden>





reply via email to

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