diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-10-13 01:51:27 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-10-13 01:51:27 +0000 |
commit | b4ac24f09d494d9aae11a332f1ee6c23857f45a2 (patch) | |
tree | 3ca2f45eb7280302961960cf2d08a800c86ba42b /configure.ac | |
parent | 85f224fdf49a8663f248eeeac529196f98637f06 (diff) | |
download | gnunet-b4ac24f09d494d9aae11a332f1ee6c23857f45a2.tar.gz gnunet-b4ac24f09d494d9aae11a332f1ee6c23857f45a2.zip |
don't even check for postgres when building for taler, since it breaks the build
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 9 insertions, 7 deletions
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) | |||
796 | 796 | ||
797 | # test for postgres | 797 | # test for postgres |
798 | postgres=false | 798 | postgres=false |
799 | AX_LIB_POSTGRESQL([]) | 799 | # even running the check for postgres breaks emscripten ... |
800 | if test "$found_postgresql" = "yes"; then | 800 | if test "$taler_only" != yes; then |
801 | CFLAGS="$CFLAGS $POSTGRESQL_CPPFLAGS" | 801 | AX_LIB_POSTGRESQL([]) |
802 | CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" | 802 | if test "$found_postgresql" = "yes"; then |
803 | AC_CHECK_HEADERS([libpq-fe.h], | 803 | CFLAGS="$CFLAGS $POSTGRESQL_CPPFLAGS" |
804 | postgres=true) | 804 | CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" |
805 | AC_CHECK_HEADERS([libpq-fe.h], | ||
806 | postgres=true) | ||
807 | fi | ||
805 | fi | 808 | fi |
806 | |||
807 | AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) | 809 | AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) |
808 | 810 | ||
809 | 811 | ||