summaryrefslogtreecommitdiff
path: root/pkg.m4
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:07:00 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:07:00 +0000
commit76b1f44698232b08de6c39972b1128a4ec9700a0 (patch)
tree8fb9bbdf580502f3b73d3f0b86152c3f8cf2b43a /pkg.m4
parentd918a294187537a9b3d0bccc3b7fccb3aa21d30b (diff)
2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen Date: 2005-04-12 17:06:32 GMT 2005-04-12 Tollef Fog Heen <tfheen@err.no> * pkg.m4: Apply patch from James Henstridge to have AC_RUN_LOG in the right place. (Freedesktop #2992)
Diffstat (limited to 'pkg.m4')
-rw-r--r--pkg.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg.m4 b/pkg.m4
index 485ad46..5122636 100644
--- a/pkg.m4
+++ b/pkg.m4
@@ -49,13 +49,11 @@ 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
+ if AC_RUN_LOG([$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