diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-11-08 10:21:28 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-10 12:07:21 +0000 |
commit | 8b995deb046469c1c713fa053510d2fe94454133 (patch) | |
tree | 0c88c6078df25e87e725c5b2858f77c6d8a528ce /meta/recipes-extended/sudo/files | |
parent | b50bf2fe6d3364e2ceb652623c9c25057d8b1001 (diff) | |
download | openembedded-core-8b995deb046469c1c713fa053510d2fe94454133.tar.gz openembedded-core-8b995deb046469c1c713fa053510d2fe94454133.tar.bz2 openembedded-core-8b995deb046469c1c713fa053510d2fe94454133.tar.xz openembedded-core-8b995deb046469c1c713fa053510d2fe94454133.zip |
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
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/sudo/files')
0 files changed, 0 insertions, 0 deletions