From: Karel Zak Date: Thu, 9 Jun 2016 10:39:44 +0000 (+0200) Subject: build-sys: remove global dependence between widechar and ncursesw X-Git-Tag: v2.29-rc1~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d7cad18e79640dfd00e43ba4b789359c8469e8b;p=thirdparty%2Futil-linux.git build-sys: remove global dependence between widechar and ncursesw It seems that globally defined dependence between ncursesw and wide-char support is overkill, because in some cases (e.g. cal(1)) we can use ncurses independently on wide-char support. It would be better to care about relation between wide-char and ncurses individually (per util). Signed-off-by: Karel Zak --- diff --git a/configure.ac b/configure.ac index 2dbf592a00..f4d99f8947 100644 --- a/configure.ac +++ b/configure.ac @@ -801,10 +801,6 @@ have_ncurses=no AS_CASE([$with_ncurses:$build_widechar], [yes:yes], [AC_MSG_ERROR([wide-char support enabled, but non-wide ncurses selects])]) -AS_CASE([$have_ncursesw:$with_ncurses:$build_widechar], - [no:auto:yes],[AC_MSG_WARN( [wide-char support enabled, ncursesw not found, force --without-ncurses]) - with_ncurses=no]) - AS_IF([test "x$have_ncursesw" = xno -a "x$with_ncurses" != xno ], [ PKG_CHECK_MODULES(NCURSES, [ncurses], [ have_ncurses=yes