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:08:57 +0000 |
commit | 90c789e57671475d6ebbc715e8070aec99e3137d (patch) | |
tree | d7d569bd5f3daa63eab8426e8e172f27cdc68ba7 /meta/recipes-devtools/python | |
parent | c7dc1283f456e480b36ee627d9ef95cdeb84b9e0 (diff) | |
download | poky-90c789e57671475d6ebbc715e8070aec99e3137d.tar.gz |
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)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions