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
..
2014-05-09 16:50:42 +02:00
2014-11-05 08:05:14 +01:00
2013-03-15 19:59:51 +01:00
2013-04-04 16:31:27 +02:00
2013-09-02 20:39:53 +01:00
2014-04-04 17:03:43 +02:00
2012-06-05 20:20:40 +02:00
2010-02-16 13:32:45 +00:00
2010-02-16 13:32:45 +00:00
2010-02-16 13:32:45 +00:00
2010-02-16 13:32:45 +00:00
2014-05-09 16:50:42 +02:00