Get configure to work with our version of autoconf by fixing
the syntax of configure.ac
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- /dev/null
+diff -ur c-ares-1.5.3-stock/configure.ac c-ares-1.5.3/configure.ac
+--- c-ares-1.5.3-stock/configure.ac 2010-10-14 07:18:36.437023208 +0000
++++ c-ares-1.5.3/configure.ac 2010-10-14 07:18:39.527024687 +0000
+@@ -811,7 +811,7 @@
+ ],[
+ AC_MSG_RESULT([yes])
+ eval "ac_cv_func_$func=yes"
+- AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$func])], [1],
++ AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$func]), [1],
+ [Define to 1 if you have the $func function.])
+ ],[
+ AC_MSG_RESULT([but still no])
DESCRIPTION = "c-ares is a C library that resolves names asynchronously."
HOMEPAGE = "http://daniel.haxx.se/projects/c-ares/"
SECTION = "libs"
-SRC_URI = "http://daniel.haxx.se/projects/c-ares/c-ares-${PV}.tar.gz"
+SRC_URI = "http://daniel.haxx.se/projects/c-ares/c-ares-${PV}.tar.gz \
+ file://0001-fix-configure.ac.patch \
+"
LICENSE = "MIT"
S = "${WORKDIR}/c-ares-${PV}"
PR = "r1"