[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: BUILD: Simplify mhd detection
From: |
gnunet |
Subject: |
[gnunet] branch master updated: BUILD: Simplify mhd detection |
Date: |
Mon, 04 Apr 2022 19:44:49 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new aa3b3f27f BUILD: Simplify mhd detection
aa3b3f27f is described below
commit aa3b3f27f1dfa5fa970b468a1b797ae42809c134
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Apr 4 19:44:45 2022 +0200
BUILD: Simplify mhd detection
---
configure.ac | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index 43d112572..8f74d5749 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1028,19 +1028,12 @@ CPPFLAGS="$SAVE_CPPFLAGS"
AC_ARG_WITH([microhttpd],
[AS_HELP_STRING([--with-microhttpd=PFX],
[base of libmicrohttpd installation])],
- [httpd=${withval}],
- [httpd=check])
-
-AS_CASE([$withval],
- [no],
- [AC_MSG_ERROR([GNUnet requires libmicrohttpd >= 0.9.63])],
- [yes],
- [PKG_CHECK_MODULES([MHD], [libmicrohttpd >= 0.9.63], [libmhd=1],
[libmhd=0])],
[SAVE_PKG_PATH="$PKG_CONFIG_PATH"
PKG_CONFIG_PATH="$httpd/lib/pkgconfig"
export PKG_CONFIG_PATH
PKG_CHECK_MODULES([MHD], [libmicrohttpd >= 0.9.63], [libmhd=1], [libmhd=0])
- PKG_CONFIG_PATH="$SAVE_PKG_PATH"])
+ PKG_CONFIG_PATH="$SAVE_PKG_PATH"],
+ [PKG_CHECK_MODULES([MHD], [libmicrohttpd >= 0.9.63], [libmhd=1],
[libmhd=0])])
AS_IF([test "x$libmhd" = "x0"],
[AC_MSG_ERROR([GNUnet requires libmicrohttpd >= 0.9.63])])
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: BUILD: Simplify mhd detection,
gnunet <=