1 From: =?utf-8?b?T25kxZllaiBTdXLDvQ==?= <ondrej@sury.org>
2 Date: Tue, 25 Oct 2016 12:33:27 +0200
3 Subject: Add ${with_pgsql}include/postgresql/ to include path
7 1 file changed, 3 insertions(+), 1 deletion(-)
9 diff --git a/configure.ac b/configure.ac
10 index fe7f0eb..1882f31 100644
13 @@ -894,7 +894,9 @@ case "$with_pgsql" in
14 LIB_PGSQL_DIR=$LIB_PGSQL
15 LIB_PGSQL="$LIB_PGSQL -lpq"
17 - if test -d ${with_pgsql}/include/pgsql; then
18 + if test -d ${with_pgsql}/include/postgresql/; then
19 + CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/postgresql"
20 + elif test -d ${with_pgsql}/include/pgsql; then
21 CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/pgsql"
22 elif test -d ${with_pgsql}/pgsql/include; then
23 CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/pgsql/include"