diff options
author | wm4 <wm4@nowhere> | 2014-08-21 22:24:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-21 22:45:58 +0200 |
commit | c41fdfb4ef03025fa8f2dff4bf1da55667e8ab88 (patch) | |
tree | bef1d43a82c62bd56b5b99df89b8348885157ee5 | |
parent | 4b5c3ea7a7390547afaea6427f53e4df1d3d108b (diff) | |
download | mpv-c41fdfb4ef03025fa8f2dff4bf1da55667e8ab88.tar.bz2 mpv-c41fdfb4ef03025fa8f2dff4bf1da55667e8ab88.tar.xz |
build: disable terminfo and termcap code by default
If nobody complains soon enough, I will remove the code completely.
-rwxr-xr-x | old-configure | 4 | ||||
-rw-r--r-- | wscript | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/old-configure b/old-configure index b32c9f0598..5c549c395e 100755 --- a/old-configure +++ b/old-configure @@ -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" @@ -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)')), }, { |