diff options
author | laforge <laforge> | 2003-04-24 18:55:39 +0000 |
---|---|---|
committer | laforge <laforge> | 2003-04-24 18:55:39 +0000 |
commit | 8ffc0faa83439c8d6e662a04130928a6b14f9b4d (patch) | |
tree | fc229a47d2f544b1412399d5d23b6ddd52a5c6ab /configure.in | |
parent | ae31975e791b90decaf171dc90e083394f577c4a (diff) |
Include posgresql+redhat fix (Magnus Boden). Might fix the Mandrake postgresql<->pgsql issue as well (unconfirmed)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 9 insertions, 2 deletions
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" |