[MPlayer-cvslog] CVS: main configure,1.1111,1.1112

Oded Shimon CVS syncmail at mplayerhq.hu
Sun Dec 25 08:21:46 CET 2005


CVS change done by Oded Shimon CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv18119

Modified Files:
	configure 
Log Message:
improove termcap detection, -lncurses works too


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1111
retrieving revision 1.1112
diff -u -r1.1111 -r1.1112
--- configure	14 Dec 2005 21:52:40 -0000	1.1111
+++ configure	25 Dec 2005 07:21:42 -0000	1.1112
@@ -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-cvslog mailing list