Add prper perl config testing.

This commit is contained in:
Bruce Momjian 1998-04-27 03:56:59 +00:00
parent df533d2993
commit e8fd57d763
2 changed files with 288 additions and 286 deletions

567
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

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