curl/tests/libtest
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
chkhostname.c
CMakeLists.txt
first.c
lib500.c
lib501.c
lib502.c
lib503.c
lib504.c
lib505.c
lib506.c
lib507.c
lib508.c
lib509.c
lib510.c
lib511.c
lib512.c
lib513.c
lib514.c
lib515.c
lib516.c
lib517.c
lib518.c
lib519.c
lib520.c
lib521.c
lib523.c
lib524.c
lib525.c
lib526.c
lib530.c
lib533.c
lib536.c
lib537.c
lib539.c
lib540.c
lib541.c
lib542.c
lib543.c
lib544.c
lib547.c
lib549.c
lib552.c
lib553.c
lib554.c
lib555.c
lib556.c
lib557.c
lib558.c
lib560.c
lib562.c
lib564.c
lib566.c
lib567.c
lib568.c
lib569.c
lib570.c
lib571.c
lib572.c
lib573.c
lib574.c
lib575.c
lib576.c
lib578.c
lib579.c
lib582.c
lib583.c
lib586.c
lib590.c
lib591.c
lib597.c
lib598.c
lib599.c
lib1500.c
lib1501.c
lib1502.c
lib1506.c
lib1507.c
lib1508.c
lib1509.c
lib1510.c
lib1511.c
lib1512.c
lib1513.c
lib1514.c
lib1515.c
lib1525.c
lib1526.c
lib1527.c
lib1528.c
lib1900.c
libauthretry.c
libntlmconnect.c
Makefile.am
Makefile.inc
notexists.pl
sethostname.c
sethostname.h
test75.pl
test307.pl
test610.pl
test613.pl
test1013.pl
test1022.pl
test.h
testtrace.c
testtrace.h
testutil.c
testutil.h