From 8ffc0faa83439c8d6e662a04130928a6b14f9b4d Mon Sep 17 00:00:00 2001 From: laforge Date: Thu, 24 Apr 2003 18:55:39 +0000 Subject: Include posgresql+redhat fix (Magnus Boden). Might fix the Mandrake postgresql<->pgsql issue as well (unconfirmed) --- configure.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 3eb2ad3..2aeb06f 100644 --- a/configure.in +++ b/configure.in @@ -160,8 +160,15 @@ then AC_MSG_WARN(PGSQL backend not used) else AC_DEFINE(HAVE_PGSQL) - PGSQLINCLUDES=${pgsqldir}/include - PGSQLLIBS=${pgsqldir}/lib + if test -f ${pgsqldir}/include/libpq-fe.h + then + PGSQLINCLUDES=${pgsqldir}/include + fi + if test -f ${pgsqldir}/include/postgresql/libpq-fe.h + then + PGSQLINCLUDES=${pgsqldir}/include/postgresql + fi + PGSQLLIBS=${pgsqldir}/lib DATABASE_DIR="${DATABASE_DIR} pgsql" -- cgit v1.2.3