test_start_stop: moved to src/microhttpd, removed inclusion of libcurl header

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2017-10-01 01:09:22 +03:00
1 parent 5b3cd84e62
commit cfddbb9dc7
3 files changed
+7 -8

No files matched your search

+6
View File
@@ -144,6 +144,7 @@ check_PROGRAMS = \
test_str_to_value \
test_str_token \
test_http_reasons \
test_start_stop \
test_daemon \
test_options
@@ -175,6 +176,11 @@ check_PROGRAMS += \
test_shutdown_poll_ignore
endif
test_start_stop_SOURCES = \
test_start_stop.c
test_start_stop_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
test_daemon_SOURCES = \
test_daemon.c
test_daemon_LDADD = \
@@ -23,9 +23,8 @@
* @brief test for #1901 (start+stop)
* @author Christian Grothoff
*/
#include "MHD_config.h"
#include "mhd_options.h"
#include "platform.h"
#include <curl/curl.h>
#include <microhttpd.h>
#if defined(CPU_COUNT) && (CPU_COUNT+0) < 2
-6
View File
@@ -18,7 +18,6 @@ $(LIBCURL_CPPFLAGS)
if HAVE_CURL
check_PROGRAMS = \
test_start_stop \
test_get \
test_get_sendfile \
test_urlparse \
@@ -83,11 +82,6 @@ endif
libcurl_version_check_a_SOURCES = \
curl_version_check.c
test_start_stop_SOURCES = \
test_start_stop.c
test_start_stop_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
test_concurrent_stop_SOURCES = \
test_concurrent_stop.c
test_concurrent_stop_CFLAGS = \