Commit e8fd57d7 authored by Bruce Momjian's avatar Bruce Momjian

Add prper perl config testing.

parent df533d29
This diff is collapsed.
...@@ -252,9 +252,10 @@ AC_ARG_WITH( ...@@ -252,9 +252,10 @@ AC_ARG_WITH(
dnl Verify that postgres is already installed dnl Verify that postgres is already installed
dnl per instructions for perl interface installation dnl per instructions for perl interface installation
if test "$USE_PERL" = "true"; then if test "$USE_PERL" = "true"
if test ! -x $prefix/bin/postgres; then then
AC_MSG_WARN(perl support disabled; postgres not previously installed) 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= USE_PERL=
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment