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

@@ -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)')),
}, {