Update translations from Transifex
[midnight-commander.git] / m4.include / mc-with-screen.m4
blobdff4bfb9f9556a2be2c1fd13ba46987276144dd7
1 m4_include([m4.include/mc-with-screen-ncurses.m4])
2 m4_include([m4.include/mc-with-screen-slang.m4])
4 dnl
5 dnl Select the screen library.
6 dnl
8 AC_DEFUN([mc_WITH_SCREEN], [
10     AC_ARG_WITH([screen],
11         AS_HELP_STRING([--with-screen=@<:@LIB@:>@],
12                        [Compile with screen library: slang or ncurses @<:@slang if found@:>@]))
14     case x$with_screen in
15     x | xslang)
16         mc_WITH_SLANG
17         ;;
18     xncurses)
19         mc_WITH_NCURSES
20         ;;
21     xncursesw)
22         mc_WITH_NCURSESW
23         ;;
24     *)
25         AC_MSG_ERROR([Value of the screen library is incorrect])
26         ;;
27     esac