Hello,
On Sat, Aug 27, 2005 at 09:40:18PM -0600, Brian wrote:
> Whoops, didn't read that very closely. PKG_CHECK_MODULES clearly. I don't
> see this documented in the Autoconf/Automake manuals...
PKG_CHECK_MODULES comes with pkg-config, not Autoconf, in file pkg.m4.
$PKG_CONFIG is in fact defined by the macro PKG_PROG_PKG_CONFIG.
This macro is called automatically by the first PKG_CHECK_MODULES.
But since your first occurrence of PKG_CHECK_MODULES is inside an "if",
it would be safer to call PKG_PROG_PKG_CONFIG before that "if". (Of before the
outermost conditional, if the code you posted is not in the outermost level.)
Happy hacking,
Stepan Kasal
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf