Mercurial > mplayer.hg
comparison configure @ 17237:8c150c1db839
prefer newer terminfo-capable libraries (ncurses or terminfo)
over the old termcap
author | rathann |
---|---|
date | Sun, 25 Dec 2005 14:00:04 +0000 |
parents | 3c172cd21575 |
children | 44c24de55f9d |
comparison
equal
deleted
inserted
replaced
17236:3c172cd21575 | 17237:8c150c1db839 |
---|---|
3061 if test "$_termcap" = auto ; then | 3061 if test "$_termcap" = auto ; then |
3062 cat > $TMPC <<EOF | 3062 cat > $TMPC <<EOF |
3063 int main(void) { tgetent(); return 0; } | 3063 int main(void) { tgetent(); return 0; } |
3064 EOF | 3064 EOF |
3065 _termcap=no | 3065 _termcap=no |
3066 for _ld_tmp in "-ltermcap" "-ltinfo" "-lncurses"; do | 3066 for _ld_tmp in "-lncurses" "-ltinfo" "-ltermcap"; do |
3067 cc_check $_ld_tmp && _ld_termcap="$_ld_tmp" && _termcap=yes && break | 3067 cc_check $_ld_tmp && _ld_termcap="$_ld_tmp" && _termcap=yes && break |
3068 done | 3068 done |
3069 fi | 3069 fi |
3070 if test "$_termcap" = yes ; then | 3070 if test "$_termcap" = yes ; then |
3071 _def_termcap='#define USE_TERMCAP 1' | 3071 _def_termcap='#define USE_TERMCAP 1' |