mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 20:05:07 +00:00
Fix tgetent call in termcap configure test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27286 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ff641a6429
commit
64944f9385
3
configure
vendored
3
configure
vendored
@ -3285,8 +3285,9 @@ fi #if sunos
|
||||
echocheck "termcap"
|
||||
if test "$_termcap" = auto ; then
|
||||
cat > $TMPC <<EOF
|
||||
#include <stddef.h>
|
||||
#include <term.h>
|
||||
int main(void) { tgetent(); return 0; }
|
||||
int main(void) { tgetent(NULL, NULL); return 0; }
|
||||
EOF
|
||||
_termcap=no
|
||||
for _ld_tmp in "-lncurses" "-ltinfo" "-ltermcap"; do
|
||||
|
Loading…
Reference in New Issue
Block a user