curl/tests/server
Peter Wu 17d27805f9 cmake: add ENABLE_THREADED_RESOLVER, rename ARES
Fix detection of the AsynchDNS feature which not just depends on
pthreads support, but also on whether USE_POSIX_THREADS is set or not.
Caught by test 1014.

This patch adds a new ENABLE_THREADED_RESOLVER option (corresponding to
--enable-threaded-resolver of autotools) which also needs a check for
HAVE_PTHREAD_H.

For symmetry with autotools, CURL_USE_ARES is renamed to ENABLE_ARES
(--enable-ares). Checks that test for the availability actually use
USE_ARES instead as that is the result of whether a-res is available or
not (in practice this does not matter as CARES is marked as required
package, but nevertheless it is better to write the intent).

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-10 09:09:25 +01:00
..
.gitignore
base64.pl
CMakeLists.txt cmake: add ENABLE_THREADED_RESOLVER, rename ARES 2014-11-10 09:09:25 +01:00
fake_ntlm.c
getpart.c
getpart.h
Makefile.am
Makefile.inc
resolve.c tests: fix memleak in server/resolve.c 2014-11-10 09:06:48 +01:00
rtspd.c
server_setup.h
server_sockaddr.h
sockfilt.c sockfilt.c: clean up threaded approach and add documentation 2014-04-22 17:22:42 +02:00
sws.c
testpart.c
tftp.h
tftpd.c tests: Fix portability issue with the tftpd server and timeouts 2014-05-29 09:39:39 +02:00
util.c
util.h