]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: remove global dependence between widechar and ncursesw
authorKarel Zak <kzak@redhat.com>
Thu, 9 Jun 2016 10:39:44 +0000 (12:39 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 9 Jun 2016 10:39:44 +0000 (12:39 +0200)
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 <kzak@redhat.com>
configure.ac

index 2dbf592a009ca7170e88870da79b14bb7525fb61..f4d99f8947e2dbfcc9c1758116d28885f3e23619 100644 (file)
@@ -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