commit 6bb3796f50f31bf6381c0ff0f082503597b1640f
parent be32c05e0e2a6692e2682d2a2e04a350f15d43c5
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 7 Dec 2018 19:11:59 +0100
fix FTBFS
Diffstat:
5 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
@@ -277,7 +277,7 @@ do not include epoll support, even if it supported (minimally smaller binary siz
@item ``--enable-coverage''
set flags for analysis of code-coverage with gcc/gcov (results in slow, large binaries)
-@item ``--with-threads={posix,w32,none,auto}''
+@item ``--with-threads=posix,w32,none,auto''
sets threading library to use. With use ``none'' to not support threads. In this case, MHD will only support the ``external'' threading modes and not perform any locking of data structures! Use @code{MHD_is_feature_supported(MHD_FEATURE_THREADS)} to test if threads are available. Default is ``auto''.
@item ``--with-gcrypt=PATH''
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -5745,12 +5745,8 @@ MHD_start_daemon_va (unsigned int flags,
#endif
#endif
-<<<<<<< HEAD
/* Thread pooling currently works only with internal select thread mode */
-=======
- /* Thread pooling currently works only with internal select thread model */
#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS)
->>>>>>> add build option to compile MHD without threads
if ( (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) &&
(daemon->worker_pool_size > 0) )
{
diff --git a/src/testcurl/Makefile.am b/src/testcurl/Makefile.am
@@ -82,11 +82,11 @@ endif
endif
if USE_POSIX_THREADS
-check_PROGRAMS +=
+check_PROGRAMS += \
$(THREAD_ONLY_TESTS)
endif
if USE_W32_THREADS
-check_PROGRAMS +=
+check_PROGRAMS += \
$(THREAD_ONLY_TESTS)
endif
diff --git a/src/testcurl/https/Makefile.am b/src/testcurl/https/Makefile.am
@@ -38,11 +38,11 @@ check_PROGRAMS = \
test_https_get_select
if USE_POSIX_THREADS
-check_PROGRAMS +=
+check_PROGRAMS += \
$(THREAD_ONLY_TESTS)
endif
if USE_W32_THREADS
-check_PROGRAMS +=
+check_PROGRAMS += \
$(THREAD_ONLY_TESTS)
endif
diff --git a/src/testzzuf/Makefile.am b/src/testzzuf/Makefile.am
@@ -29,11 +29,11 @@ check_PROGRAMS = \
test_put_large11
if USE_POSIX_THREADS
-check_PROGRAMS +=
+check_PROGRAMS += \
$(THREAD_ONLY_TESTS)
endif
if USE_W32_THREADS
-check_PROGRAMS +=
+check_PROGRAMS += \
$(THREAD_ONLY_TESTS)
endif