mc/m4.include/mc-with-screen.m4
Andreas Mohr 8d62147883 Ticket #3628: ncurses vs ncursesw.
Remove undocumented ncursesw flag.
ncurses and ncursesw selection by --with-screen=ncurses only.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2025-03-02 17:39:03 +03:00

26 lines
565 B
Plaintext

m4_include([m4.include/mc-with-screen-ncurses.m4])
m4_include([m4.include/mc-with-screen-slang.m4])
dnl
dnl Select the screen library.
dnl
AC_DEFUN([mc_WITH_SCREEN], [
AC_ARG_WITH([screen],
AS_HELP_STRING([--with-screen=@<:@LIB@:>@],
[Compile with screen library: slang or ncurses @<:@slang if found@:>@]))
case x$with_screen in
x | xslang)
mc_WITH_SLANG
;;
xncurses)
mc_WITH_NCURSES
;;
*)
AC_MSG_ERROR([Value of the screen library is incorrect])
;;
esac
])