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:
parent
dcaa08760c
commit
04dc901641
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue