From 04dc901641daf4cfa4ba16527d26a02f05a59476 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Fri, 9 May 2014 22:09:55 +0000 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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