head	1.2;
access;
symbols
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2002.03.26.07.53.38;	author petef;	state dead;
branches;
next	1.1;

1.1
date	2001.04.21.11.43.05;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.2
log
@This patch is no longer needed as postgresql installs include
files into the Right Place now.

Submitted by:	bento
@
text
@--- configure.orig	Sat Apr 21 19:23:27 2001
+++ configure	Sat Apr 21 19:24:38 2001
@@@@ -1077,20 +1077,20 @@@@
   withval="$with_pgsql"
   
   if test "$withval" != "no" ; then
-    if test -f "$withval/include/libpq-fe.h" ; then
+    if test -f "$withval/include/pgsql/libpq-fe.h" ; then
         PG_DIR=$withval
-        PG_INCLUDE="$withval/include"
+        PG_INCLUDE="$withval/include/pgsql"
         PG_LIB="$withval/lib"
     fi
     if test "$PG_DIR" = "" ; then
-      if test -f "$withval/include/libpq-fe.h" ; then
+      if test -f "$withval/include/pgsql/libpq-fe.h" ; then
         XML_DIR=$withval
-        XML_INCLUDE="$withval/include"
+        XML_INCLUDE="$withval/include/pgsql"
         XML_LIB="$withval/lib"
       fi
     fi
     if test "$PG_DIR" = "" ; then
-      if test -f "$withval/lib/libpq.a" -a -f "$withval/include/libpq-fe.h" ; then
+      if test -f "$withval/lib/libpq.a" -a -f "$withval/include/pgsql/libpq-fe.h" ; then
 	XML_DIR=$withval
 	XML_INCLUDE="$withval/include"
 	XML_LIB=$withval/lib
@@@@ -1106,9 +1106,9 @@@@
 
 if test "$PG_DIR" = ""; then
 	for i in /usr /usr/local /usr/local/postgres; do
-		if test -f "$i/include/libpq-fe.h"; then
+		if test -f "$i/include/pgsql/libpq-fe.h"; then
 			PG_DIR=$i
-			PG_INCLUDE="$i/include"
+			PG_INCLUDE="$i/include/pgsql"
 			PG_LIB="$i/lib"
 		elif test -f "$i/include/pgsql/libpq-fe.h"; then
 			PG_DIR=$i
@


1.1
log
@Fix include directory for postgresql7.1's new layout.
@
text
@@

