From 5fe37b899b0f62e7a6281f34b7921be007e289e2 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 7 Apr 2014 20:50:28 +0000 Subject: Fix curl HTTPS test with GnuTLS specific version --- src/testcurl/https/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/testcurl/https/Makefile.am') diff --git a/src/testcurl/https/Makefile.am b/src/testcurl/https/Makefile.am index 4053e536..f399fc17 100644 --- a/src/testcurl/https/Makefile.am +++ b/src/testcurl/https/Makefile.am @@ -4,6 +4,10 @@ if USE_COVERAGE AM_CFLAGS = --coverage endif +if HAVE_GNUTLS_SNI + TEST_HTTPS_SNI = test_https_sni +endif + CPU_COUNT_DEF = -DCPU_COUNT=$(CPU_COUNT) AM_CPPFLAGS = \ @@ -17,7 +21,7 @@ check_PROGRAMS = \ test_tls_authentication \ test_https_multi_daemon \ test_https_get \ - test_https_sni \ + $(TEST_HTTPS_SNI) \ test_https_get_select \ test_https_get_parallel \ test_https_get_parallel_threads \ @@ -32,7 +36,7 @@ TESTS = \ test_tls_options \ test_https_multi_daemon \ test_https_get \ - test_https_sni \ + $(TEST_HTTPS_SNI) \ test_https_get_select \ test_https_get_parallel \ test_https_get_parallel_threads \ @@ -122,6 +126,7 @@ test_https_get_LDADD = \ $(top_builddir)/src/microhttpd/libmicrohttpd.la \ $(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@ +if HAVE_GNUTLS_SNI test_https_sni_SOURCES = \ test_https_sni.c \ tls_test_common.c @@ -132,6 +137,7 @@ test_https_sni_LDADD = \ $(top_builddir)/src/testcurl/libcurl_version_check.a \ $(top_builddir)/src/microhttpd/libmicrohttpd.la \ $(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@ +endif test_https_get_select_SOURCES = \ test_https_get_select.c \ -- cgit v1.2.3