[MPlayer-dev-eng] configure [PATCH]

Torinthiel torinthiel at wp.pl
Tue Oct 28 15:51:30 CET 2003


I'm using PLD linux, where libtermcap is known as libtinfo
Or at least this is what I guess from patches at mplayer-0.90pre10
source rpm I've downloaded. This patch (if I got it right) fixes that.
Could somebody comment?
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3075312
   torinthiel(at)wp(dot)pl
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.797
diff -u -r1.797 configure
--- configure	27 Oct 2003 01:06:35 -0000	1.797
+++ configure	28 Oct 2003 14:44:00 -0000
@@ -2425,15 +2425,15 @@
 int main(void) { return 0; }
 EOF
   _termcap=no
-  cc_check -ltermcap && _termcap=yes
+  cc_check -ltermcap && _termcap=yes && _ld_termcap='-ltermcap'
+  cc_check -ltinfo && _termcap=yes && _ld_termcap='-ltinfo'
 fi
 if test "$_termcap" = yes ; then
   _def_termcap='#define USE_TERMCAP 1'
-  _ld_termcap='-ltermcap'
 else
   _def_termcap='#undef USE_TERMCAP'
 fi
-echores "$_termcap"
+echores "$_termcap (using $_ld_termcap)"
 
 
 echocheck "termios"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031028/5f2656fd/attachment.pgp>


More information about the MPlayer-dev-eng mailing list