Only check for postgres if building full mint.

Otherwise the macro for postgres pulls unwanted system header files in
and makes the build fail with emscripten.
This commit is contained in:
Florian Dold 2015-12-13 17:03:32 +01:00
parent c20f955ae4
commit 263fd77738

View File

@ -142,6 +142,11 @@ AS_IF([test $jansson = 0],
*** ]])])
# test for postgres
AX_LIB_POSTGRESQL([9.3])
if test "$found_postgresql" = "yes"; then
postgres=true
fi
else
@ -195,11 +200,6 @@ AC_SUBST(TALER_LIB_LDFLAGS)
AC_SUBST(TALER_PLUGIN_LDFLAGS)
# test for postgres
AX_LIB_POSTGRESQL([9.3])
if test "$found_postgresql" = "yes"; then
postgres=true
fi
AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue)
# check for libgnurl