automake
[Top][All Lists]
Advanced

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

checking for optional dependencies


From: Wesley Smith
Subject: checking for optional dependencies
Date: Tue, 29 Jun 2010 14:52:38 +0200

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


wes



reply via email to

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