add option "Ask new file name" in the Configuration box
[midnight-commander.git] / m4.include / mc-with-screen.m4
blob3f5b5d52eb75282bdc6be10acb515eea57089782
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