diff options
author | Bruce Momjian | 1998-04-06 01:36:41 +0000 |
---|---|---|
committer | Bruce Momjian | 1998-04-06 01:36:41 +0000 |
commit | 066ee9a2e98d5587a3a9bb71711f900e1f5d161e (patch) | |
tree | f830e9f83eacdc81cfbdef642fcf2ce9fc2c213f /src/interfaces/perl5 | |
parent | 5523beb949241d9ed498aa51eb6c91f7100e7e46 (diff) |
Make DESTDIR consistent, and verious Linux cleanups.
Diffstat (limited to 'src/interfaces/perl5')
-rw-r--r-- | src/interfaces/perl5/Makefile.PL | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/src/interfaces/perl5/Makefile.PL b/src/interfaces/perl5/Makefile.PL index 47c480beb3b..8c758c0802d 100644 --- a/src/interfaces/perl5/Makefile.PL +++ b/src/interfaces/perl5/Makefile.PL @@ -1,6 +1,6 @@ #------------------------------------------------------- # -# $Id: Makefile.PL,v 1.5 1998/02/20 21:25:32 mergl Exp $ +# $Id: Makefile.PL,v 1.6 1998/04/06 01:36:30 momjian Exp $ # # Copyright (c) 1997 Edmund Mergl # @@ -14,27 +14,12 @@ print "\nConfiguring Pg\n"; print "Remember to actually read the README file !\n"; die "\nYou didn't read the README file !\n" unless ($] >= 5.002); -if (! $ENV{POSTGRES_HOME}) { - warn "\$POSTGRES_HOME not defined. Searching for PostgreSQL...\n"; - foreach(qw(/usr/local/pgsql /usr/pgsql /home/pgsql /opt/pgsql /usr/local/postgres /usr/postgres /home/postgres /opt/postgres)) { - if (-d "$_/lib") { - $ENV{POSTGRES_HOME} = $_; - last; - } - } -} - -if (-d "$ENV{POSTGRES_HOME}/lib") { - print "Found PostgreSQL in $ENV{POSTGRES_HOME}\n"; -} else { - die "Unable to determine PostgreSQL\n"; -} - my %opts = ( NAME => 'Pg', VERSION_FROM => 'Pg.pm', - INC => "-I$ENV{POSTGRES_HOME}/include", - LIBS => ["-L$ENV{POSTGRES_HOME}/lib -lpq"], + INC => "-I../libpq -I../../include", + LIBS => ["-L../libpq -lpq"], + CC => 'gcc', ); |