From 2f5befc9f72c16627261fc8c7f139503e5b144f0 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Thu, 14 Jul 2005 13:04:16 +0000 Subject: [PATCH] 2001-06-18 Havoc Pennington Author: hp Date: 2001-06-17 23:18:00 GMT 2001-06-18 Havoc Pennington * pkg.m4: print the error, not the name of the variable containing it, doh --- ChangeLog | 5 +++++ pkg.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3c9bcf2..284a3c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-06-18 Havoc Pennington + + * pkg.m4: print the error, not the name of the variable containing + it, doh + Sun Jun 17 17:48:45 2001 Tim Janik * pkg.c (internal_get_package): fix check before parsing a file at diff --git a/pkg.m4 b/pkg.m4 index f165a2e..874a120 100644 --- a/pkg.m4 +++ b/pkg.m4 @@ -38,7 +38,7 @@ AC_DEFUN(PKG_CHECK_MODULES, [ ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - ifelse([$4], ,echo $1_PKG_ERRORS,) + ifelse([$4], ,echo $$1_PKG_ERRORS,) fi AC_SUBST($1_CFLAGS) -- 2.39.5