summaryrefslogtreecommitdiff
path: root/pkg.m4
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:06:54 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:06:54 +0000
commit15ce1f9d78c0f75df55f724bcd798769b53680c2 (patch)
tree2287d971759b263432f31096301600f10e4e721f /pkg.m4
parent2374ab1c3e7855a7bb8e32531c609708d447b76b (diff)
2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen Date: 2005-04-12 10:49:11 GMT 2005-04-12 Tollef Fog Heen <tfheen@err.no> * pkg.m4: wrap running pkg-config in AC_RUN_LOG per James Henstridge's suggestion.
Diffstat (limited to 'pkg.m4')
-rw-r--r--pkg.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg.m4 b/pkg.m4
index a34c2c0..e93384a 100644
--- a/pkg.m4
+++ b/pkg.m4
@@ -49,11 +49,13 @@ m4_define([_PKG_CONFIG],
[if test "x$ac_cv_env_[]$1[]_set" = "xset"; then
pkg_cv_[]$1=$ac_cv_env_[]$1[]_value
elif test -n "$PKG_CONFIG"; then
+ AC_RUN_LOG([
if $PKG_CONFIG --exists "$3" >/dev/null 2>&1; then
pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
else
pkg_failed=yes
fi
+ ])
else
pkg_failed=untried
fi[]dnl