mirror of https://github.com/mpv-player/mpv
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
|
@ -3285,8 +3285,9 @@ fi #if sunos
|
||||||
echocheck "termcap"
|
echocheck "termcap"
|
||||||
if test "$_termcap" = auto ; then
|
if test "$_termcap" = auto ; then
|
||||||
cat > $TMPC <<EOF
|
cat > $TMPC <<EOF
|
||||||
|
#include <stddef.h>
|
||||||
#include <term.h>
|
#include <term.h>
|
||||||
int main(void) { tgetent(); return 0; }
|
int main(void) { tgetent(NULL, NULL); return 0; }
|
||||||
EOF
|
EOF
|
||||||
_termcap=no
|
_termcap=no
|
||||||
for _ld_tmp in "-lncurses" "-ltinfo" "-ltermcap"; do
|
for _ld_tmp in "-lncurses" "-ltinfo" "-ltermcap"; do
|
||||||
|
|
Loading…
Reference in New Issue