[oe-commits] Ross Burton : readline: exclude autoheader from autoreconf

git at git.openembedded.org git at git.openembedded.org
Wed May 28 12:01:20 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 1e1c6c4e1df6ef1e650c29c7e7c501f999e7f112
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1e1c6c4e1df6ef1e650c29c7e7c501f999e7f112

Author: Ross Burton <ross.burton at intel.com>
Date:   Wed May 28 12:56:24 2014 +0100

readline: exclude autoheader from autoreconf

readline ships a hand-maintained config.h, instead of letting autoheader
generate one from configure.ac.  The required arguments to AC_DEFINE are not in
configure.ac so autoheader will produce warnings and the generated code will not
behave as expected.

Solve this by excluding autoheader from autoreconf, so the upstream config.h.in
is used.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/readline/readline.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc
index c33e91a..2c5ad00 100644
--- a/meta/recipes-core/readline/readline.inc
+++ b/meta/recipes-core/readline/readline.inc
@@ -21,6 +21,8 @@ S = "${WORKDIR}/${BPN}-${PV}"
 
 inherit autotools texinfo
 
+EXTRA_AUTORECONF += "--exclude=autoheader"
+
 LEAD_SONAME = "libreadline.so"
 
 do_configure_prepend () {



More information about the Openembedded-commits mailing list