From 263fd77738a8b1749ecac0748328a72bdee4a5b5 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 13 Dec 2015 17:03:32 +0100 Subject: 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. --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 498053c35..6a64cbff7 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- cgit v1.2.3