aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-21 00:47:06 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-21 00:47:06 +0100
commit8a039e9e8142bd95779fd8beb1b316be1a46668f (patch)
tree6c190c9b3f53b425de3df9a79b33c878d20801aa /configure.ac
parentc737a34c0f9fd5011048331ed5851b0524dec740 (diff)
downloadgnunet-8a039e9e8142bd95779fd8beb1b316be1a46668f.tar.gz
gnunet-8a039e9e8142bd95779fd8beb1b316be1a46668f.zip
fixing #5440: updating postgres test m4 macro
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
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
1068postgres=false 1068postgres=false
1069# even running the check for postgres breaks emscripten ... 1069# even running the check for postgres breaks emscripten ...
1070if test "$taler_only" != yes; then 1070AS_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
1077fi
1078AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) 1076AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue)
1079 1077
1080 1078