Check for pkg-config at $PKG_CONFIG in configure

This allows someone without pkg-config in their PATH to set where
pkg-config is located.
This commit is contained in:
Travis Cross 2014-05-09 22:09:55 +00:00
parent dcaa08760c
commit 04dc901641
1 changed files with 1 additions and 1 deletions

View File

@ -1126,7 +1126,7 @@ case $host in
;;
esac
if ! test -x "$(which pkg-config)"; then
if ! test -x "$PKG_CONFIG" || ! test -x "$(which pkg-config)"; then
AC_MSG_ERROR([You need to install pkg-config to configure FreeSWITCH.])
fi