diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-10-03 11:09:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-10-03 11:09:12 +0200 |
commit | 4998506a34e5855319b5d4fb738539c08910e75a (patch) | |
tree | edd631c09d900ff6717a7959ec66822e15e2edc5 /configure.ac | |
parent | c04113bfc443451bbf02dcd8078f7f74c8c37b23 (diff) |
add donau detection
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8e7b36e0..ad12b3f3 100644 --- a/configure.ac +++ b/configure.ac @@ -288,6 +288,25 @@ AS_IF([test $libtalerexchange != 1], *** ]])]) +libdonau=0 +AC_MSG_CHECKING([for libdonau]) +AC_ARG_WITH(donau, + [AS_HELP_STRING([--with-donau=PFX], [base of Taler DONAU installation])], + [AC_MSG_RESULT([given as $with_donau])], + [AC_MSG_RESULT(not given) + with_donau=yes]) +AS_CASE([$with_donau], + [yes], [], + [no], [], + [LDFLAGS="-L$with_donau/lib $LDFLAGS" + CPPFLAGS="-I$with_donau/include $CPPFLAGS $POSTGRESQL_CPPFLAGS"]) + +AC_CHECK_HEADERS([donau/donau_service.h], + [AC_CHECK_LIB([donau], [DONAU_get_keys], libdonau=1)]) +AM_CONDITIONAL(HAVE_DONAU, test x$libdonau = x1) + + + libtalermhd=0 AC_MSG_CHECKING([for libtalermhd]) AC_ARG_WITH(exchange, |