Committed by Greg Sabino Mullane <[email protected]>
If we can't figure out how to get to the pg_config
information, exit 0 insteaed of die-ing.
---
Makefile.PL | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index 1b2e695..8592007 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -109,7 +109,8 @@ $POSTGRES_INCLUDE = $ENV{POSTGRES_INCLUDE} || $pg->inc_dir;
if (! defined $POSTGRES_INCLUDE) {
if (! defined $ENV{POSTGRES_HOME}) {
- die "No POSTGRES_HOME defined, cannot find automatically\n";
+ warn "No POSTGRES_HOME defined, cannot find automatically\n";
+ exit 0;
}
$POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include";
}
--
1.8.4