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.
2005-04-12 Tollef Fog Heen <tfheen@err.no>
+ * pkg.m4: wrap running pkg-config in AC_RUN_LOG per James
+ Henstridge's suggestion.
+
* pkg.m4: Patch from James Henstridge to evaluate second argument
again. (Freedesktop #2987, Gnome #300232, Debian #303878,
#303969)
[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