diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 69a7d0c24..45b2024a5 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1067,14 +1067,12 @@ CPPFLAGS=$SAVE_CPPFLAGS | |||
1067 | # test for postgres | 1067 | # test for postgres |
1068 | postgres=false | 1068 | postgres=false |
1069 | # even running the check for postgres breaks emscripten ... | 1069 | # even running the check for postgres breaks emscripten ... |
1070 | if test "$taler_only" != yes; then | 1070 | AS_IF([test "$taler_only" != yes], |
1071 | AX_LIB_POSTGRESQL([9.5]) | 1071 | [AX_LIB_POSTGRESQL([9.5], |
1072 | if test "x$found_postgresql" = "xyes"; then | 1072 | [CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" |
1073 | CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" | 1073 | AC_CHECK_HEADERS([libpq-fe.h], |
1074 | AC_CHECK_HEADERS([libpq-fe.h], | 1074 | postgres=true) |
1075 | postgres=true) | 1075 | ])]) |
1076 | fi | ||
1077 | fi | ||
1078 | AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) | 1076 | AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) |
1079 | 1077 | ||
1080 | 1078 | ||