aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-03-06 22:07:09 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-03-06 22:07:09 +0000
commit5e00557fa25f68aa41848e1e19b6937e8cfdd0f9 (patch)
tree0936ac98e1f807afcff146578664d4e6f7b922a9 /src
parent4eaa654bd6f565bfc0c89464eada4a462bf2d16f (diff)
downloadpostgresql-5e00557fa25f68aa41848e1e19b6937e8cfdd0f9.tar.gz
postgresql-5e00557fa25f68aa41848e1e19b6937e8cfdd0f9.zip
Believe $POSTGRES_LIB and $POSTGRES_INCLUDE only if they name actual
directories, per suggestion from Robert Creager.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/perl5/Makefile.PL4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/perl5/Makefile.PL b/src/interfaces/perl5/Makefile.PL
index 4d5b1e33f18..99eb9d4b59b 100644
--- a/src/interfaces/perl5/Makefile.PL
+++ b/src/interfaces/perl5/Makefile.PL
@@ -1,6 +1,6 @@
#-------------------------------------------------------
#
-# $Id: Makefile.PL,v 1.16 2000/06/10 18:01:56 petere Exp $
+# $Id: Makefile.PL,v 1.17 2001/03/06 22:07:09 tgl Exp $
#
# Copyright (c) 1997, 1998 Edmund Mergl
#
@@ -12,7 +12,7 @@ use strict;
my %opts;
-if (! $ENV{POSTGRES_LIB} || ! $ENV{POSTGRES_INCLUDE}) {
+if (! -d $ENV{POSTGRES_LIB} || ! -d $ENV{POSTGRES_INCLUDE}) {
# Check that we actually are inside the Postgres source tree
if (! -d "../libpq") {