summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-11-08 10:21:28 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:38:16 +0000
commit9faa58ecdcbfb9734b90bfa8088d969b9236a75c (patch)
tree5140d42b7a22374fb7a438b91bb9539356539236 /meta/recipes-core/uclibc
parentcc19812fb4255227091852512101f77825ad3ef8 (diff)
downloadpoky-9faa58ecdcbfb9734b90bfa8088d969b9236a75c.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) (From OE-Core rev: 802cd855f1860ef0fbbbbf87b0af7c5dcdc35975) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc')
0 files changed, 0 insertions, 0 deletions