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:
diego 2008-07-15 09:17:07 +00:00
parent ff641a6429
commit 64944f9385
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -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