summaryrefslogtreecommitdiff
blob: 90afd85147fd0915f49ab30472e1db683c14b4b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.in.orig	2004-01-15 13:18:24.000000000 -0800
+++ configure.in	2004-01-15 13:18:27.000000000 -0800
@@ -674,7 +674,9 @@
      LIB_PGSQL_DIR=$LIB_PGSQL
      LIB_PGSQL="$LIB_PGSQL -lpq"
 
-     if test -d ${with_pgsql}/include/pgsql; then
+     if test -d ${with_pgsql}/include/postgresql/pgsql; then
+         CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/postgresql/pgsql"
+     elif test -d ${with_pgsql}/include/pgsql; then
          CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/pgsql"
      elif test -d ${with_pgsql}/pgsql/include; then
          CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/pgsql/include"