From e0048c32e6de7b45bfacc683b81f0725581d883f Mon Sep 17 00:00:00 2001 From: Nelson Ferreira Date: Tue, 8 Sep 2015 18:09:15 -0400 Subject: [PATCH] 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 --- m4/sxe-summary.m4 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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 " -- 2.25.1