mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
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…
x
Reference in New Issue
Block a user