The configure script looks for ares in the directory ares,
while the distribution provides c-ares.
I think m4/curl-confopts.m4 should be changed like this:
dnl c-ares library path has not been given
if test -d "$srcdir/c-ares"; then
dnl c-ares sources embedded in curl tree
embedded_ares="yes"
AC_CONFIG_SUBDIRS(c-ares)
-- Beppe
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html