donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 74c931be086d9270a065296acc4f172214aa00ec
parent 75ddc7b0435c5a991afe06382982ab5718d7a501
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 24 Oct 2023 11:10:40 +0200

check for taler exchange

Diffstat:
Mconfigure.ac | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -236,6 +236,20 @@ AS_IF([test $libgnunetcurl != 1], *** building GNUnet. *** ]])]) +# Check for Taler's libtalerpq +libtalerpq=0 +AC_MSG_CHECKING([for libtalerpq]) +AC_ARG_WITH(exchange, + [AS_HELP_STRING([--with-exchange=PFX], [base of Taler EXCHANGE installation])], + [AC_MSG_RESULT([given as $with_exchange])], + [AC_MSG_RESULT(not given) + with_exchange=yes]) +AS_CASE([$with_exchange], + [yes], [], + [no], [AC_MSG_ERROR([--with-exchange is required])], + [LDFLAGS="-L$with_exchange/lib $LDFLAGS" + CPPFLAGS="-I$with_exchange/include $CPPFLAGS"]) + # Restore after gnurl/curl checks messed up these values CFLAGS=$CFLAGS_SAVE