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:
parent
c20f955ae4
commit
263fd77738
10
configure.ac
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user