--- 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"