From: Nelson Ferreira Date: Tue, 8 Sep 2015 22:09:15 +0000 (-0400) Subject: Improve TTY section of summary X-Git-Tag: v22.1.16~16^2~6 X-Git-Url: http://cgit.sxemacs.org/?p=sxemacs;a=commitdiff_plain;h=e0048c32e6de7b45bfacc683b81f0725581d883f Improve TTY section of summary * m4/sxe-summary.m4 (SXE_SUMMARY): Provide additional warning on some of the tty options, and support for --with-tinfo and --with-builtin-tty Signed-off-by: Nelson Ferreira --- diff --git a/m4/sxe-summary.m4 b/m4/sxe-summary.m4 index 8aa5f49..2cfe1ba 100644 --- a/m4/sxe-summary.m4 +++ b/m4/sxe-summary.m4 @@ -206,11 +206,18 @@ esac echo " TTY:" -test "$with_ncurses" = yes && echo " Compiling in support for ncurses." -test "$with_curses" = yes && echo " Compiling in support for curses." -test "$with_terminfo" = yes && echo " Compiling in support for terminfo ." -test "$with_termlib" = yes && echo " Compiling in support for termlib." -test "$with_termcap" = yes && echo " Compiling in support for termcap." +test "$with_ncurses" = yes && echo " Compiling in support for ncurses." +test "$with_curses" = yes && echo " Compiling in support for curses." +test "$with_tinfo" = yes && echo " Compiling in support for tinfo." +test "$with_terminfo" = yes && echo " Compiling in support for terminfo." +test "$with_termlib" = yes && echo " WARNING! Compiling in support for termlib." \ + && echo " Consider installing ncurses." +test "$with_termcap" = yes && echo " WARNING! Compiling in support for termcap." \ + && echo " Consider installing ncurses." \ + && echo " You may need to set TERMCAP or have the file /etc/termcap." +test "$with_builtin_tty" = yes && echo " WARNING! Using (brittle) builtin TTY." \ + && echo " Consider installing ncurses." \ + && echo " You WILL need to set TERMCAP or have the file /etc/termcap." test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." echo "