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 gitignore: ignore fake_ntlm 2011-07-18 23:49:31 +02:00
base64.pl utility to base encode data passed on stdin 2004-11-29 12:09:05 +00:00
CMakeLists.txt cmake: add ENABLE_THREADED_RESOLVER, rename ARES 2014-11-10 09:09:25 +01:00
fake_ntlm.c test servers: fix errno, ERRNO and SOCKERRNO usage for W32/W64 2013-01-09 22:23:50 +01:00
getpart.c base64: Fixed compilation warnings when using Curl_base64_decode() 2013-11-03 12:25:07 +00:00
getpart.h test servers: build adjustment 2012-04-10 17:32:06 +02:00
Makefile.am build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
Makefile.inc Makefile.inc: fix $(top_srcdir) not allowed in _SOURCES variables 2013-01-20 04:20:02 +01:00
resolve.c tests: fix memleak in server/resolve.c 2014-11-10 09:06:48 +01:00
rtspd.c test servers: handle W32/W64 SIGBREAK with exit_signal_handler 2013-01-09 22:23:50 +01:00
server_setup.h build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
server_sockaddr.h test servers: build adjustment 2012-04-10 17:32:06 +02:00
sockfilt.c sockfilt.c: clean up threaded approach and add documentation 2014-04-22 17:22:42 +02:00
sws.c sws: support extracting test number from CONNECT ipv6-address! 2013-06-04 22:50:58 +02:00
testpart.c Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tftp.h Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
tftpd.c tests: Fix portability issue with the tftpd server and timeouts 2014-05-29 09:39:39 +02:00
util.c util.c: Revert workaround eeefcdf, 6eb56e7 and e3787e8 2013-04-06 11:55:30 +02:00
util.h test servers: build adjustment 2012-04-10 17:32:06 +02:00