Index: Makefile.PL
===================================================================
RCS file: /usr/local/cvsroot/dbdpg/dbdpg/Makefile.PL,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 Makefile.PL
--- Makefile.PL	15 Oct 2002 19:20:04 -0000	1.1.1.1
+++ Makefile.PL	22 Oct 2002 15:51:12 -0000
@@ -14,7 +14,13 @@
 my $POSTGRES_LIB;
 
 if ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and !$ENV{POSTGRES_HOME}) {
-    die "please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !\n";
+#    die "please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !\n";
+    require App::Info::RDBMS::PostgreSQL;
+    require App::Info::Handler::Prompt;
+    my $p = App::I } elsif ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and $ENV{POSTGRES_HOME}) {
     $POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include";
     $POSTGRES_LIB     = "$ENV{POSTGRES_HOME}/lib";
