From: Florian Dold Date: Thu, 13 Oct 2016 01:51:27 +0000 (+0000) Subject: don't even check for postgres when building for taler, since it breaks the build X-Git-Tag: initial-import-from-subversion-38251~99 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b4ac24f09d494d9aae11a332f1ee6c23857f45a2;p=oweals%2Fgnunet.git don't even check for postgres when building for taler, since it breaks the build --- diff --git a/configure.ac b/configure.ac index bd230860d..50bc45594 100644 --- a/configure.ac +++ b/configure.ac @@ -796,14 +796,16 @@ AC_SUBST(SQLITE_LDFLAGS) # test for postgres postgres=false -AX_LIB_POSTGRESQL([]) -if test "$found_postgresql" = "yes"; then - CFLAGS="$CFLAGS $POSTGRESQL_CPPFLAGS" - CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" - AC_CHECK_HEADERS([libpq-fe.h], - postgres=true) +# even running the check for postgres breaks emscripten ... +if test "$taler_only" != yes; then + AX_LIB_POSTGRESQL([]) + if test "$found_postgresql" = "yes"; then + CFLAGS="$CFLAGS $POSTGRESQL_CPPFLAGS" + CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" + AC_CHECK_HEADERS([libpq-fe.h], + postgres=true) + fi fi - AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue)