[Mplayer-cvslog] CVS: main configure,1.218,1.219

Alex Beregszaszi alex at mplayer.dev.hu
Sat Nov 3 22:25:58 CET 2001


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

Modified Files:
	configure 
Log Message:
checkin for xanim support, also --disable-xanim and --with-xanimlibdir option added

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -r1.218 -r1.219
--- configure	3 Nov 2001 02:36:02 -0000	1.218
+++ configure	3 Nov 2001 21:25:55 -0000	1.219
@@ -172,6 +172,7 @@
   --disable-dshow        disable DirectShow support (if no C++ compiler and
                          libs are available or find the dshow codecs slower 
                          than the old VfW ones) [autodetect]
+  --disable-xanim        disable XAnim DLL support [autodetect]
   --enable-vorbis        build with OggVorbis support [autodetect]
   --disable-iconv        do not use iconv(3) function [autodetect]
 
@@ -231,6 +232,7 @@
   --with-x11libdir=DIR     X library files in DIR
   --with-x11incdir=DIR     X headers in DIR
   --with-win32libdir=DIR   W*ndows DLL files in DIR
+  --with-xanimlibdir=DIR   XAnim DLL files in DIR
   --with-csslibdir=DIR     'libcss.so' (libcss shared lib.) in DIR
   --with-cssincdir=DIR     'css.h' (libcss header file) in DIR
   --with-sdl-config=PATH   path to 'sdl-config'
@@ -567,6 +569,7 @@
 _css=no
 _dvdread=no
 _win32=yes _dshow=yes
+_xanim=yes
 test "$host_arch" != i386 && _dshow=no _win32=no
 _fastmemcpy=yes
 _streaming=no
@@ -635,6 +638,15 @@
   done
 fi
 
+_xanimlibdir=
+if test "$_xanim" = yes ; then
+  for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods ; do
+    if test -d "$I" ; then
+      _xanimlibdir="$I"
+      break;
+    fi;
+  done
+fi
 
 if test -d libavcodec && test -f libavcodec/Makefile ; then
     _libavcodec=yes
@@ -1491,6 +1503,10 @@
   --disable-dshow)
         _dshow=no
 	;;
+  --disable-xanim)
+	_xanim=no
+	_xanimlibdir=
+	;;
   --disable-fastmemcpy)
         _fastmemcpy=no
 	;;
@@ -1520,6 +1536,10 @@
         _win32libdir=`echo $ac_option | cut -d '=' -f 2`
         _win32=yes
         ;;
+  --with-xanimlibdir=*)
+	_xanimlibdir=`echo $ac_option | cut -d '=' -f 2`
+	_xanim=yes
+	;;
   --with-csslibdir=*)
         _csslibdir=`echo $ac_option | cut -d '=' -f 2`
 	_css=yes
@@ -1692,6 +1712,10 @@
  fi
 fi
 
+if test "$_xanim" = yes && test "$_libdl" = no ; then
+  _xanim = no
+fi
+
 # to screen.
 echo "Install prefix: $_prefix"
 echo "Data directory: $_datadir"
@@ -1738,6 +1762,7 @@
 echo "Checking for mad support ... $_mad"
 echo "Checking for OggVorbis support ... $_vorbis"
 echo "Checking for Win32 DLL support ... $_win32"
+echo "Checking for XAnim DLL support ... $_xanim"
 echo "Checking for DirectShow ... $_dshow"
 echo "Checking for iconv function ... $_iconv"
 echo "Checking for zlib ... $_zlib"
@@ -1925,6 +1950,14 @@
   _dshowdep=
 fi
 
+if test "$_xanim" = yes ; then
+  _use_xanim="#define USE_XANIM 1"
+  _xanim_path="#define XACODEC_PATH \"$_xanimlibdir\""
+else
+  _use_xanim="#undef USE_XANIM"
+  _xanim_path=
+fi
+
 
 if test "$_libavcodec" = yes ; then
    _lavclib='-Llibavcodec -lavcodec'
@@ -2594,6 +2627,10 @@
 $_libavcodecso
 /* use only decoders from libavcodec: */
 #define CONFIG_DECODERS
+
+/* XAnim DLL support */
+$_use_xanim
+$_xanim_path
 
 /* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
 $_fastmemcpy




More information about the MPlayer-cvslog mailing list