libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 35cbc7f5e912b8a9ec740fac2cb63d772a3844e1
parent fbbc9197edec8a94ef01b723b7e04d21b4b1579b
Author: Matthias Wachs <wachs@in.tum.de>
Date:   Wed, 18 Sep 2013 20:24:14 +0000

make check if spdlay is not existing


Diffstat:
Msrc/testspdy/Makefile.am | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/testspdy/Makefile.am b/src/testspdy/Makefile.am @@ -21,8 +21,8 @@ if !HAVE_W32 PERF_GET_CONCURRENT=perf_get_concurrent endif -check_PROGRAMS = \ - test_daemon_start_stop \ +if HAVE_SPDYLAY +check_PROGRAMS = \ test_daemon_start_stop \ test_daemon_start_stop_many \ test_struct_namevalue \ test_new_connection \ @@ -32,9 +32,13 @@ check_PROGRAMS = \ #test_requests_with_assets \ test_misc \ test_session_timeout +else +check_PROGRAMS = +endif TESTS = $(check_PROGRAMS) + SPDY_SOURCES= \ common.h common.c @@ -98,6 +102,7 @@ test_session_timeout_SOURCES = \ $(SPDY_SOURCES) test_session_timeout_LDADD = $(SPDY_LDADD) +if HAVE_SPDYLAY if HAVE_CURL_BINARY check_PROGRAMS += \ @@ -109,3 +114,4 @@ test_proxies_SOURCES = \ test_proxies_LDADD = $(SPDY_LDADD) endif +endif