1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-21 12:05:57 +03:00

Believe $POSTGRES_LIB and $POSTGRES_INCLUDE only if they name actual

directories, per suggestion from Robert Creager.
This commit is contained in:
Tom Lane 2001-03-06 22:07:09 +00:00
parent 4eaa654bd6
commit 5e00557fa2

View File

@ -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 # Copyright (c) 1997, 1998 Edmund Mergl
# #
@ -12,7 +12,7 @@ use strict;
my %opts; 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 # Check that we actually are inside the Postgres source tree
if (! -d "../libpq") { if (! -d "../libpq") {