If you specify the --with-mysql-includes the configure script, the value of PGSQL_CFLAGS is not set correctly.
I think fixes of # 1354419 is a still insufficient.
----
+++ m4/ac_check_pgsql.m4 2015-01-29 05:52:47 +0000
@@ -16,7 +16,7 @@
if test [ -n "$ac_cv_pgsql_includes" ]
then
AC_CACHE_CHECK([PostgreSQL includes], [ac_cv_pgsql_includes], [ac_cv_pgsql_includes=""])
- PGSQL_CFLAGS="-I$ac_cv_mysql_includes"
+ PGSQL_CFLAGS="-I$ac_cv_pgsql_includes"
fi
If you specify the --with- mysql-includes the configure script, the value of PGSQL_CFLAGS is not set correctly.
I think fixes of # 1354419 is a still insufficient.
---- pgsql.m4 2015-01-29 05:52:47 +0000 pgsql_includes" ] CACHE_CHECK( [PostgreSQL includes], [ac_cv_ pgsql_includes] , [ac_cv_ pgsql_includes= ""]) "-I$ac_ cv_mysql_ includes" "-I$ac_ cv_pgsql_ includes"
+++ m4/ac_check_
@@ -16,7 +16,7 @@
if test [ -n "$ac_cv_
then
AC_
- PGSQL_CFLAGS=
+ PGSQL_CFLAGS=
fi
# Check for custom library path