mc-with-screen.m4 640 B

12345678910111213141516171819202122232425262728293031
  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. [ --with-screen=LIB Compile with screen library: slang or
  9. ncurses [[slang if found]]])
  10. case x$with_screen in
  11. xslang)
  12. MC_WITH_SLANG(strict)
  13. ;;
  14. xncurses)
  15. MC_WITH_NCURSES
  16. ;;
  17. xncursesw)
  18. MC_WITH_NCURSESW
  19. ;;
  20. x)
  21. MC_WITH_SLANG
  22. ;;
  23. *)
  24. AC_MSG_ERROR([Value of the screen library is incorrect])
  25. ;;
  26. esac
  27. ])