[oe-commits] Sean Cross : c-ares: Fix configure.ac

git version control git at git.openembedded.org
Thu Oct 14 14:58:07 UTC 2010


Module: openembedded.git
Branch: master
Commit: 051d97508315763fd2b36c537f7f3a7521d63daf
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=051d97508315763fd2b36c537f7f3a7521d63daf

Author: Sean Cross <sean at chumby.com>
Date:   Wed Oct 13 21:35:05 2010 +0000

c-ares: Fix configure.ac

Get configure to work with our version of autoconf by fixing
the syntax of configure.ac

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/c-ares/0001-fix-configure.ac.patch |   12 ++++++++++++
 recipes/c-ares/c-ares_1.5.3.bb             |    4 +++-
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/recipes/c-ares/0001-fix-configure.ac.patch b/recipes/c-ares/0001-fix-configure.ac.patch
new file mode 100644
index 0000000..c8c3e66
--- /dev/null
+++ b/recipes/c-ares/0001-fix-configure.ac.patch
@@ -0,0 +1,12 @@
+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])
diff --git a/recipes/c-ares/c-ares_1.5.3.bb b/recipes/c-ares/c-ares_1.5.3.bb
index 0def152..2a7d0ff 100644
--- a/recipes/c-ares/c-ares_1.5.3.bb
+++ b/recipes/c-ares/c-ares_1.5.3.bb
@@ -1,7 +1,9 @@
 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"





More information about the Openembedded-commits mailing list