Added ability to use native W32 threads, added --with-threads=LIB configure parameter

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2014-04-08 14:46:06 +00:00
1 parent 1c5f53ac93
commit 2bffe00f07
13 files changed
+234 -58

No files matched your search

+7 -4
View File
@@ -8,6 +8,11 @@ if HAVE_GNUTLS_SNI
TEST_HTTPS_SNI = test_https_sni
endif
if HAVE_POSIX_THREADS
HTTPS_PARALLEL_TESTS = test_https_get_parallel \
test_https_get_parallel_threads
endif
CPU_COUNT_DEF = -DCPU_COUNT=$(CPU_COUNT)
AM_CPPFLAGS = \
@@ -23,8 +28,7 @@ check_PROGRAMS = \
test_https_get \
$(TEST_HTTPS_SNI) \
test_https_get_select \
test_https_get_parallel \
test_https_get_parallel_threads \
$(HTTPS_PARALLEL_TESTS) \
test_https_session_info \
test_https_time_out \
test_empty_response
@@ -38,8 +42,7 @@ TESTS = \
test_https_get \
$(TEST_HTTPS_SNI) \
test_https_get_select \
test_https_get_parallel \
test_https_get_parallel_threads \
$(HTTPS_PARALLEL_TESTS) \
test_https_session_info \
test_https_time_out \
test_tls_authentication \
@@ -30,6 +30,7 @@
#include <sys/stat.h>
#include <limits.h>
#include <curl/curl.h>
#include <pthread.h>
#include <gcrypt.h>
#include "tls_test_common.h"
@@ -32,6 +32,7 @@
#include <sys/stat.h>
#include <limits.h>
#include <curl/curl.h>
#include <pthread.h>
#include <gcrypt.h>
#include "tls_test_common.h"