mc-with-screen.m4 616 B

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