Look at XXX_CFLAGS and XXX_LIBS again

2005-09-21  Tollef Fog Heen  <tfheen@err.no>

	* pkg.m4: Apply patch from Roberto Huelga to look at XXX_CFLAGS
	and XXX_LIBS which got lost somewhere.
This commit is contained in:
Tollef Fog Heen 2005-09-21 13:12:35 +00:00
parent d074ab9973
commit 3fd0e37e65
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-09-21 Tollef Fog Heen <tfheen@err.no>
* pkg.m4: Apply patch from Roberto Huelga to look at XXX_CFLAGS
and XXX_LIBS which got lost somewhere.
2005-08-27 Tollef Fog Heen <tfheen@err.no>
* Makefile.am (AM_CFLAGS): Add default CFLAGS

4
pkg.m4
View file

@ -67,9 +67,13 @@ fi])
# ---------------------------------------------
m4_define([_PKG_CONFIG],
[if test -n "$PKG_CONFIG"; then
if test -n "$$1"; then
pkg_cv_[]$1="$$1"
else
PKG_CHECK_EXISTS([$3],
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
[pkg_failed=yes])
fi
else
pkg_failed=untried
fi[]dnl