Codebase list cyrus-sasl2 / 9c89842
Add ${with_pgsql}include/postgresql/ to include path Ondřej Surý 7 years ago
3 changed file(s) with 25 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org>
1 Date: Tue, 25 Oct 2016 12:33:27 +0200
2 Subject: Add ${with_pgsql}include/postgresql/ to include path
3
4 ---
5 configure.ac | 4 +++-
6 1 file changed, 3 insertions(+), 1 deletion(-)
7
8 diff --git a/configure.ac b/configure.ac
9 index 7afb96d..3b38803 100644
10 --- a/configure.ac
11 +++ b/configure.ac
12 @@ -919,7 +919,9 @@ case "$with_pgsql" in
13 LIB_PGSQL_DIR=$LIB_PGSQL
14 LIB_PGSQL="$LIB_PGSQL -lpq"
15
16 - if test -d ${with_pgsql}/include/pgsql; then
17 + if test -d ${with_pgsql}/include/postgresql/; then
18 + CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/postgresql"
19 + elif test -d ${with_pgsql}/include/pgsql; then
20 CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/pgsql"
21 elif test -d ${with_pgsql}/pgsql/include; then
22 CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/pgsql/include"
2828 0029-Fix-early-hangup-in-ipc_unix.c.patch
2929 0030-Change-linking-from-sasldb-.libs-libsasldb.al-to-sas.patch
3030 0031-Cleanup-for-modern-autotools.patch
31 0032-Add-with_pgsql-include-postgresql-to-include-path.patch
7878 $(CONFIGURE_SQL) \
7979 --with-sqlite3=/usr \
8080 --with-mysql=/usr \
81 --with-pgsql=/usr/include/postgresql \
81 --with-pgsql=/usr \
8282 $(CONFIGURE_LDAPDB) \
8383 --disable-macos-framework \
8484 --with-pam=/usr \