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.

(From OE-Core rev: 8c37d32d6133c6ad2b9142e7a42775e7a979b570)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2014-05-28 12:56:24 +01:00 committed by Richard Purdie
parent 70400ff9bb
commit 385b2d4356
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ S = "${WORKDIR}/${BPN}-${PV}"
inherit autotools texinfo
EXTRA_AUTORECONF += "--exclude=autoheader"
LEAD_SONAME = "libreadline.so"
do_configure_prepend () {