Patchwork [2/4] readline: exclude autoheader from autoreconf

login
register
mail settings
Submitter Ross Burton
Date May 28, 2014, 11:56 a.m.
Message ID <109f78bb2752d4397069129e8db1a71f233b4d86.1401277810.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/72893/
State New
Headers show

Comments

Ross Burton - May 28, 2014, 11:56 a.m.
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@intel.com>
---
 meta/recipes-core/readline/readline.inc |    2 ++
 1 file changed, 2 insertions(+)

Patch

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 () {