From: Tollef Fog Heen Date: Wed, 16 Aug 2006 17:43:17 +0000 (+0200) Subject: 2006-08-16 Tollef Fog Heen X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecfb96aa4c0603554c425b08dc94ca56ba1101b5;p=pkg-config 2006-08-16 Tollef Fog Heen * pkg-config.1: Apply patch from Ed Catmur to document PKG_CHECK_EXIST. Thanks a lot for both patches. --- diff --git a/ChangeLog b/ChangeLog index 14305de..1e7c77c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ PKG_PROG_PKG_CONFIG and that it should be used if the first call to PKG_CHECK_MODULES might not happen. + * pkg-config.1: Apply patch from Ed Catmur to document + PKG_CHECK_EXIST. Thanks a lot for both patches. + 2005-12-28 Tollef Fog Heen * configure.in, Makefile.am: Only use -Wall and other gcc-only diff --git a/pkg-config.1 b/pkg-config.1 index 41fd145..80775ef 100644 --- a/pkg-config.1 +++ b/pkg-config.1 @@ -309,6 +309,15 @@ explicit call to PKG_PROG_PKG_CONFIG in your configure.ac Defines the PKG_CONFIG variable to the best pkg-config available, useful if you need pkg-config but don't want to use PKG_CHECK_MODULES. +.I "PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])" + +Check to see whether a particular set of modules exists. Similar +to PKG_CHECK_MODULES(), but does not set variables or print errors. + +Similar to PKG_CHECK_MODULES, make sure that the first instance of +this or PKG_CHECK_MODULES is called, or make sure to call +PKG_CHECK_EXISTS manually + .SH METADATA FILE SYNTAX To add a library to the set of packages \fIpkg-config\fP knows about, simply install a \fI.pc\fP file. You should install this file to