diff --git a/src/interfaces/perl5/Makefile.PL b/src/interfaces/perl5/Makefile.PL index 4d5b1e33f1814e33a6f75f420752535624b1b906..99eb9d4b59bd4bc4a5f976f9f8e950a64587fb0c 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") {