diff --git a/configure.ac b/configure.ac index 2e8d6e1162..7673f61141 100644 --- a/configure.ac +++ b/configure.ac @@ -1126,7 +1126,7 @@ case $host in ;; esac -if ! test -x "$PKG_CONFIG" || ! 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