[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 02/02: [build int] Use ‘MHD_VERSION_AT_LEAST’
From: |
gnunet |
Subject: |
[taler-merchant] 02/02: [build int] Use ‘MHD_VERSION_AT_LEAST’ |
Date: |
Sat, 19 Mar 2022 12:56:53 +0100 |
This is an automated email from the git hooks/post-receive script.
ttn pushed a commit to branch master
in repository merchant.
commit c1d7578ee4d8a061c6b0a7bc97c6cbda7e320001
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Sat Mar 19 07:55:24 2022 -0400
[build int] Use ‘MHD_VERSION_AT_LEAST’
* configure.ac (microhttpd): Delete shell var.
(MHD_start_daemon): Delete AC_CHECK_LIB.
(MHD_VERSION_AT_LEAST): New macro call.
---
configure.ac | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index dd3943be..f6cdf6c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,7 +132,6 @@ AC_CHECK_HEADERS([gnunet/gnunet_pq_lib.h],
AM_CONDITIONAL(HAVE_GNUNETPQ, test x$libgnunetpq = x1)
# check for libmicrohttpd
-microhttpd=0
AC_MSG_CHECKING([for microhttpd])
AC_ARG_WITH([microhttpd],
[AS_HELP_STRING([--with-microhttpd=PFX], [base of microhttpd
installation])],
@@ -144,13 +143,7 @@ AS_CASE([$with_microhttpd],
[no], [AC_MSG_ERROR([--with-microhttpd is required])],
[LDFLAGS="-L$with_microhttpd/lib $LDFLAGS"
CPPFLAGS="-I$with_microhttpd/include $CPPFLAGS"])
-AC_CHECK_LIB(microhttpd,MHD_start_daemon,
- [AC_CHECK_HEADER([microhttpd.h],[microhttpd=1])])
-AS_IF([test $microhttpd = 0],
- [AC_MSG_ERROR([[
-***
-*** You need libmicrohttpd to build this program.
-*** ]])])
+MHD_VERSION_AT_LEAST([0.9.39])
jansson=0
PKG_CHECK_MODULES([JANSSON], [jansson >= 2.3],
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.