From: Travis Cross Date: Fri, 9 May 2014 22:09:55 +0000 (+0000) Subject: Check for pkg-config at $PKG_CONFIG in configure X-Git-Tag: v1.4.4~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04dc901641daf4cfa4ba16527d26a02f05a59476;p=thirdparty%2Ffreeswitch.git 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. --- diff --git a/configure.ac b/configure.ac index 71fd5bc602..2e8d6e1162 100644 --- a/configure.ac +++ b/configure.ac @@ -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