提交 c96c733e authored 作者: Travis Cross's avatar Travis Cross

Test for pkg-config in configure

We depend on pkg-config, but we weren't explicitly testing for it, so
the absence of pkg-config would cause the sqlite test to fail, which
was confusing.
上级 717bcf61
...@@ -1126,6 +1126,10 @@ case $host in ...@@ -1126,6 +1126,10 @@ case $host in
;; ;;
esac esac
if ! test -x "$(which pkg-config)"; then
AC_MSG_ERROR([You need to install pkg-config to configure FreeSWITCH.])
fi
# temporary workaround for Debian libldns-dev package bug # temporary workaround for Debian libldns-dev package bug
if test "$cross_compiling" != "yes" && test -f /usr/lib/pkg-config/libldns.pc; then if test "$cross_compiling" != "yes" && test -f /usr/lib/pkg-config/libldns.pc; then
path_push_unique PKG_CONFIG_PATH /usr/lib/pkg-config path_push_unique PKG_CONFIG_PATH /usr/lib/pkg-config
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论