From: Tollef Fog Heen Date: Sun, 6 Dec 2009 20:17:45 +0000 (+0100) Subject: Rephrase comment before PKG_CHECK_EXISTS in pkg.m4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a2c307ed21dd90e23fe576e797d469b2d2eedaa;p=pkg-config Rephrase comment before PKG_CHECK_EXISTS in pkg.m4 --- diff --git a/pkg.m4 b/pkg.m4 index 6bfe45c..95f7cbc 100644 --- a/pkg.m4 +++ b/pkg.m4 @@ -51,10 +51,10 @@ fi[]dnl # 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 +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl