build: disable terminfo and termcap code by default

If nobody complains soon enough, I will remove the code completely.
This commit is contained in:
wm4 2014-08-21 22:24:43 +02:00
parent 4b5c3ea7a7
commit c41fdfb4ef
2 changed files with 4 additions and 2 deletions

View File

@ -162,8 +162,8 @@ options_state_machine() {
opt_yes_no _gl "OpenGL video output"
opt_yes_no _libguess "libguess"
opt_yes_no _terminfo "terminfo database for key codes"
opt_yes_no _termcap "termcap database for key codes"
opt_yes_no _terminfo "terminfo database for key codes" no
opt_yes_no _termcap "termcap database for key codes" no
opt_yes_no _termios "termios database for key codes"
opt_yes_no _iconv "iconv for encoding conversion"
opt_yes_no _lirc "LIRC (remote control) support"

View File

@ -166,12 +166,14 @@ iconv support use --disable-iconv.",
}, {
'name': '--terminfo',
'desc': 'terminfo',
'default': 'disable',
'func': check_libs(['ncurses', 'ncursesw'],
check_statement('term.h', 'setupterm(0, 1, 0)')),
}, {
'name': '--termcap',
'desc': 'termcap',
'deps_neg': ['terminfo'],
'default': 'disable',
'func': check_libs(['ncurses', 'tinfo', 'termcap'],
check_statement('term.h', 'tgetent(0, 0)')),
}, {