Add prper perl config testing.

pull/50/head
Bruce Momjian 28 years ago
parent df533d2993
commit e8fd57d763
  1. 567
      src/configure
  2. 7
      src/configure.in

567
src/configure vendored

File diff suppressed because it is too large Load Diff

@ -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

Loading…
Cancel
Save