fix configure check to test for MHD 0.9.52:
authorChristian Grothoff <christian@grothoff.org>
Mon, 11 Mar 2019 03:20:15 +0000 (04:20 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 11 Mar 2019 03:20:15 +0000 (04:20 +0100)
README
configure.ac

diff --git a/README b/README
index 982d7241d06b2be00f89d863027da305e838519e..6e0c744721b1172c37adb8fc6ab26752bfda40ff 100644 (file)
--- a/README
+++ b/README
@@ -32,7 +32,7 @@ Dependencies:
 
 These are the direct dependencies for running GNUnet:
 
-- libmicrohttpd      >= 0.9.42
+- libmicrohttpd      >= 0.9.52
 - libgcrypt          >= 1.6
 - A curl build against gnutls, or gnurl:
   - libgnurl         >= 7.35.0      (recommended, available from
index 440b4a5ebe31c7559ab90e02f9723d4ea1da03cb..e55ca6ffaa2378941b0987e515a0f31de618fad6 100644 (file)
@@ -1161,7 +1161,7 @@ AC_ARG_WITH(microhttpd,
         AC_CHECK_HEADERS([microhttpd.h],
          AC_CHECK_DECL(MHD_OPTION_PER_IP_CONNECTION_LIMIT,
             AC_CHECK_LIB([microhttpd], [MHD_get_fdset2],
-              [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.42])
+              [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.52])
               AC_COMPILE_IFELSE([AC_LANG_SOURCE([
                 #include "$native_srcdir/src/include/platform.h"
                 #include <microhttpd.h>
@@ -1184,7 +1184,7 @@ AC_ARG_WITH(microhttpd,
          AC_CHECK_DECL(MHD_OPTION_PER_IP_CONNECTION_LIMIT,
             AC_CHECK_LIB([microhttpd], [MHD_get_fdset2],
               EXT_LIB_PATH="-L$with_microhttpd/lib $EXT_LIB_PATH"
-              [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.42])
+              [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.52])
                AC_COMPILE_IFELSE([AC_LANG_SOURCE([
                 #include "$native_srcdir/src/include/platform.h"
                 #include <microhttpd.h>
@@ -1206,12 +1206,12 @@ AC_ARG_WITH(microhttpd,
     AC_CHECK_HEADERS([microhttpd.h],
       AC_CHECK_DECL(MHD_OPTION_PER_IP_CONNECTION_LIMIT,
         AC_CHECK_LIB([microhttpd], [MHD_get_fdset2],
-          [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.42])
+          [AC_MSG_CHECKING([for libmicrohttpd >= 0.9.52])
               AC_COMPILE_IFELSE([AC_LANG_SOURCE([
                 #include "$native_srcdir/src/include/platform.h"
                #include <microhttpd.h>
                 #if (MHD_VERSION < 0x0094200)
-                #error needs at least version 0.9.42
+                #error needs at least version 0.9.52
                 #endif
                ])],
                [AC_MSG_RESULT(ok)