[MPlayer-dev-eng] [PATCH] bad configure detection for termcap
Oded Shimon
ods15 at ods15.dyndns.org
Sat Dec 24 20:58:55 CET 2005
Termcap detection is incomplete, on my system using -lncurses for termcap
also works. If noone speaks up, I'll commit tommorrow.
- ods15
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1111
diff -u -r1.1111 configure
--- configure 14 Dec 2005 21:52:40 -0000 1.1111
+++ configure 24 Dec 2005 19:57:42 -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
More information about the MPlayer-dev-eng
mailing list