Fix Port after postgres update

PR:		46794
Submitted by:	Alex Rodioukov <simuran@shaw.ca>
This commit is contained in:
Tilman Keskinoz 2003-01-08 11:44:18 +00:00
parent 21de316435
commit 77ee0ebeca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72734

View file

@ -1,18 +1,18 @@
--- configure.orig Wed Sep 4 16:16:18 2002 --- configure.orig Mon Jan 6 02:06:33 2003
+++ configure Wed Sep 4 16:16:59 2002 +++ configure Mon Jan 6 02:07:07 2003
@@ -1316,11 +1316,11 @@ @@ -1316,11 +1316,11 @@
echo $ac_n "checking PostgreSQL type catalog""... $ac_c" 1>&6 echo $ac_n "checking PostgreSQL type catalog""... $ac_c" 1>&6
echo "configure:1319: checking PostgreSQL type catalog" >&5 echo "configure:1319: checking PostgreSQL type catalog" >&5
-if test -d $PGSQLDIR/catalog ; then -if test -d $PGSQLDIR/catalog ; then
- PGSQLTYPES="$PGSQLDIR/catalog/pg_type.h" - PGSQLTYPES="$PGSQLDIR/catalog/pg_type.h"
+if test -d $PGSQLDIR/pgsql/catalog ; then +if test -d $PGSQLDIR/postgresql/catalog ; then
+ PGSQLTYPES="$PGSQLDIR/psql/catalog/pg_type.h" + PGSQLTYPES="$PGSQLDIR/postgresql/catalog/pg_type.h"
else else
- if test -d $PGSQLDIR/server/catalog ; then - if test -d $PGSQLDIR/server/catalog ; then
- PGSQLTYPES="$PGSQLDIR/server/catalog/pg_type.h" - PGSQLTYPES="$PGSQLDIR/server/catalog/pg_type.h"
+ if test -d $PGSQLDIR/psql/server/catalog ; then + if test -d $PGSQLDIR/postgresql/server/catalog ; then
+ PGSQLTYPES="$PGSQLDIR/psql/server/catalog/pg_type.h" + PGSQLTYPES="$PGSQLDIR/postgresql/server/catalog/pg_type.h"
fi fi
fi fi
test -z "$PGSQLTYPES" && { echo "configure: error: pg_type.h not found" 1>&2; exit 1; } test -z "$PGSQLTYPES" && { echo "configure: error: pg_type.h not found" 1>&2; exit 1; }