提交 e8fd57d7 编写于 作者: B Bruce Momjian

Add prper perl config testing.

上级 df533d29
此差异已折叠。
......@@ -252,9 +252,10 @@ AC_ARG_WITH(
dnl Verify that postgres is already installed
dnl per instructions for perl interface installation
if test "$USE_PERL" = "true"; then
if test ! -x $prefix/bin/postgres; then
AC_MSG_WARN(perl support disabled; postgres not previously installed)
if test "$USE_PERL" = "true"
then
if test ! -x "$prefix"/bin/postgres -a ! -x "$ac_default_prefix"/bin/postgres
then AC_MSG_WARN(perl support disabled; postgres not previously installed)
USE_PERL=
fi
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册