automake
[Top][All Lists]
Advanced

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

Re: checking for optional dependencies


From: Ralf Wildenhues
Subject: Re: checking for optional dependencies
Date: Tue, 29 Jun 2010 20:32:04 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hi Wesley,

* Wesley Smith wrote on Tue, Jun 29, 2010 at 02:52:38PM CEST:
> I'm looking for some sample code on how to best check for an optional
> dependencies (like gstreamer or some other lib) and set a compilation
> flag like -DMYLIB_HAVE_GSTREAMER.
> 
> I'm not exactly which one of these functions or how to use them to do
> this, so any pointers to a sample is much appreciated.
> AC_CHECK_LIB
> AC_SEARCH_LIBS

Do the examples in `info Autoconf "External Software"' help?
For macro definition, see e.g., `info Autoconf --index AC_CHECK_LIB'.
If you have any code at all, even if it doesn't work, show it, that
way it is usually easier to help.

Cheers,
Ralf



reply via email to

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