[Mplayer-cvslog] CVS: main configure,1.307,1.308

pl pl at mplayer.dev.hu
Sat Dec 1 03:32:42 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv23190

Modified Files:
	configure 
Log Message:
patch by Adam Di Carlo <adam at onshore-devel.com>:
  1 more xanim path
  improved lirc autodetection


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.307
retrieving revision 1.308
diff -u -r1.307 -r1.308
--- configure	29 Nov 2001 23:12:19 -0000	1.307
+++ configure	1 Dec 2001 02:32:40 -0000	1.308
@@ -2115,7 +2115,7 @@
   if test "$_dl" = yes ; then
     if x86 ; then
       if test -z "$_xanimlibdir" ; then
-        for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods ; do
+        for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim ; do
           if test -d "$I" ; then
             _xanimlibdir="$I"
             break;
@@ -2125,7 +2125,7 @@
       test "$_xanimlibdir" && _xanim=yes
       echores "yes (found: $_xanimlibdir)"
     else
-      echores "not supported on non x86"
+      echores "not supported on non-x86"
     fi
   else
     echores "dl support needed"
@@ -2289,7 +2289,13 @@
 echocheck "lirc"
 if test "$_lirc" = auto ; then
   _lirc=no
-  test -c /dev/lirc && _lirc=yes
+  if test -c /dev/lirc ; then
+      cat > $TMPC <<EOF
+#include <lirc/lirc_client.h>
+int main(void) { return 0; }
+EOF
+      cc_check -llirc_client && _lirc=yes
+  fi
 fi
 if test "$_lirc" = yes ; then
   _def_lirc='#define HAVE_LIRC 1'




More information about the MPlayer-cvslog mailing list