generic-poky/meta/recipes-core/ncurses
Darren Hart 9faa58ecdc ncurses: refactor configure to avoid configuring widec when disabled
The ENABLE_WIDEC variable can be used to disable ncurses wide character support
when your C library doesn't support it. Currently, the do_configure step
configures for both narrow and wide characters regardless and only checks
ENABLE_WIDEC during compilation. This leads to QA failures with host
contamination during configure if the C library doesn't support wide characters.

Refactor do_configure with a new ncurses_configure helper function and only
configure for wide character support if ENABLE_WIDEC is true.

Ensure that configure errors are propogated back through to do_configure.

Tested with ENABLE_WIDEC as true and false via an ncurses bbappend on i586,
including basic error injection.

V2: INC_PR bump

(From OE-Core rev: 8b995deb046469c1c713fa053510d2fe94454133)

(From OE-Core rev: 802cd855f1860ef0fbbbbf87b0af7c5dcdc35975)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30 16:38:16 +00:00
..
ncurses-5.9 update patch upstream status 2011-05-13 11:02:14 +01:00
site_config ncurses: Fix site_config 2011-07-14 15:02:29 +01:00
ncurses.inc ncurses: refactor configure to avoid configuring widec when disabled 2012-01-30 16:38:16 +00:00
ncurses_5.9.bb ncurses: Remove unwanted package config from previous .inc merge 2011-04-12 10:12:20 -07:00