mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
build: disable terminfo and termcap code by default
If nobody complains soon enough, I will remove the code completely.
This commit is contained in:
2
wscript
2
wscript
@@ -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)')),
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user