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)
This commit is contained in:
Arch Librarian 2005-07-14 13:07:00 +00:00
parent d918a29418
commit 76b1f44698
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,8 @@
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)
* pkg.m4: Add note that PKG_PROG_PKG_CONFIG must be called
explicitly if the first call to PKG_CHECK_MODULES might not
happen. (Debian #303211)

4
pkg.m4
View file

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