[MPlayer-dev-eng] configure [PATCH]

Torinthiel torinthiel at wp.pl
Tue Oct 28 16:12:52 CET 2003


On Tue, Oct 28, 2003 at 03:51:30PM +0100, Torinthiel wrote:
> 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?
Previous patch was broken (displayed wrong message if no term* found)
Please take a look at this one.
> Torinthiel
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 15:11:00 -0000
@@ -2425,15 +2425,16 @@
 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'
+  echores "yes (using $_ld_termcap)"
 else
   _def_termcap='#undef USE_TERMCAP'
+  echores no
 fi
-echores "$_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/c8062718/attachment.pgp>


More information about the MPlayer-dev-eng mailing list