]> err.no Git - pkg-config/commitdiff
2001-06-18 Havoc Pennington <hp@pobox.com>
authorArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:04:16 +0000 (13:04 +0000)
committerArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:04:16 +0000 (13:04 +0000)
Author: hp
Date: 2001-06-17 23:18:00 GMT
2001-06-18  Havoc Pennington  <hp@pobox.com>

* pkg.m4: print the error, not the name of the variable containing
it, doh

ChangeLog
pkg.m4

index 3c9bcf251c96a3857bca5cf59798c15feafd8e8b..284a3c6b2f77b17d87813f1b782108a4ecb59334 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-18  Havoc Pennington  <hp@pobox.com>
+
+       * pkg.m4: print the error, not the name of the variable containing
+       it, doh
+
 Sun Jun 17 17:48:45 2001  Tim Janik  <timj@gtk.org>
 
        * pkg.c (internal_get_package): fix check before parsing a file at
diff --git a/pkg.m4 b/pkg.m4
index f165a2ec78c1535f35f42b16575ad8f28074d913..874a120cfb106fd17e98317617d36281741901ce 100644 (file)
--- 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)