mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-27 16:15:49 +00:00
Fix case where ${PKG_CONFIG} is not an absolute path.
This commit is contained in:
parent
837d7f3a99
commit
f3f299b69a
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ AC_DEFUN([AX_PROG_PKG_CONFIG], [
|
||||||
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [list of directories to search instead of default search path])
|
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [list of directories to search instead of default search path])
|
||||||
if test x"${PKG_CONFIG}" = x"" ; then
|
if test x"${PKG_CONFIG}" = x"" ; then
|
||||||
AC_PATH_PROGS([PKG_CONFIG], [pkg-config pkgconf]) >/dev/null
|
AC_PATH_PROGS([PKG_CONFIG], [pkg-config pkgconf]) >/dev/null
|
||||||
|
else
|
||||||
|
AC_PATH_PROG([PKG_CONFIG], [${PKG_CONFIG}])
|
||||||
fi
|
fi
|
||||||
AC_MSG_CHECKING([for pkg-config or pkgconf])
|
AC_MSG_CHECKING([for pkg-config or pkgconf])
|
||||||
if test -x "${PKG_CONFIG}" ; then
|
if test -x "${PKG_CONFIG}" ; then
|
||||||
|
|
Loading…
Reference in a new issue