libcurl: use c-ares if available
authorJohn Keeping <john@keeping.me.uk>
Sat, 2 May 2015 10:58:18 +0000 (11:58 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 May 2015 17:25:24 +0000 (19:25 +0200)
commitff05e241f877615c127477dcda2ba99667a8d798
tree5fcb4cf18f06dd62dccac0c2237ded105c928757
parent3d1807f935b10001b9703c9614f3cd4f9b14d69e
libcurl: use c-ares if available

By default libcurl uses the C library's DNS resolver which is
synchronous, even if an application is using libcurl's non-blocking mode
of operation.

Configure libcurl to use c-ares if it is selected so that it can resolve
addresses asynchronously if required.

[Peter: explicitly disable c-ares support if not enabled]
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libcurl/libcurl.mk