Mercurial > mplayer.hg
changeset 17236:3c172cd21575
improove termcap detection, -lncurses works too
author | ods15 |
---|---|
date | Sun, 25 Dec 2005 07:21:42 +0000 |
parents | fbac61e449d5 |
children | 8c150c1db839 |
files | configure |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Dec 24 18:17:39 2005 +0000 +++ b/configure Sun Dec 25 07:21:42 2005 +0000 @@ -3060,10 +3060,10 @@ echocheck "termcap" if test "$_termcap" = auto ; then cat > $TMPC <<EOF -int main(void) { return 0; } +int main(void) { tgetent(); return 0; } EOF _termcap=no - for _ld_tmp in "-ltermcap" "-ltinfo" ; do + for _ld_tmp in "-ltermcap" "-ltinfo" "-lncurses"; do cc_check $_ld_tmp && _ld_termcap="$_ld_tmp" && _termcap=yes && break done fi