Comment 0 for bug 1415746

Revision history for this message
nobuhito (nobu.o) wrote :

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

 # Check for custom library path