diff options
| author | Bruce Momjian <bruce@momjian.us> | 1998-04-27 03:56:59 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1998-04-27 03:56:59 +0000 |
| commit | e8fd57d7633ab9ddcd64861e13a59aa8dfbc3b05 (patch) | |
| tree | 49696b05f16f5a2340a1844aeac18c278c48586a /src/configure.in | |
| parent | df533d299397d777944384e84c35bb9f1181ef29 (diff) | |
| download | postgresql-e8fd57d7633ab9ddcd64861e13a59aa8dfbc3b05.tar.gz | |
Add prper perl config testing.
Diffstat (limited to 'src/configure.in')
| -rw-r--r-- | src/configure.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/configure.in b/src/configure.in index b4176f9c25..7a8f4eb9f0 100644 --- a/src/configure.in +++ b/src/configure.in @@ -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 |
