2001-06-18 Havoc Pennington <hp@pobox.com>

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
This commit is contained in:
Arch Librarian 2005-07-14 13:04:16 +00:00
parent 9c879bb4f8
commit 2f5befc9f7
2 changed files with 6 additions and 1 deletions

View file

@ -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

2
pkg.m4
View file

@ -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)