[Mplayer-cvslog] CVS: main configure,1.298,1.299

Atmosfear atmos4 at mplayer.dev.hu
Wed Nov 28 16:34:33 CET 2001


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

Modified Files:
	configure 
Log Message:
MP1E support needed by DXR3 stuff (Patch by D. Holm)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.298
retrieving revision 1.299
diff -u -r1.298 -r1.299
--- configure	27 Nov 2001 23:17:58 -0000	1.298
+++ configure	28 Nov 2001 15:34:31 -0000	1.299
@@ -651,6 +651,7 @@
 _rtc=auto
 _ossaudio=auto
 _mad=auto
+_mp1e=auto
 _vorbis=auto
 _css=auto
 _dvdread=auto
@@ -1973,6 +1974,26 @@
 echores "$_mad"
 
 
+echocheck "mp1e rte support"
+if test "$_mp1e" = auto ; then
+  _mp1e=no
+  cat > $TMPC << EOF
+#include <sys/types.h>
+#include <unistd.h>
+#include <rte.h>
+int main(void) { return 0; }
+EOF
+  cc_check -lrte && _mp1e=yes
+fi
+if test "$_mp1e" = yes ; then
+  _def_mp1e='#define USE_MP1E 1'
+  _ld_mp1e='-lrte'
+else
+  _def_mp1e='#undef USE_MP1E'
+fi
+echores "$_mp1e"
+
+
 echocheck "OggVorbis support"
 if test "$_vorbis" = auto ; then
   _vorbis=no
@@ -2500,6 +2521,8 @@
 DS_LIB = $_ld_dshow
 AV_DEP = $_dep_libavcodec
 AV_LIB = $_ld_libavcodec
+MP1E_DEP = $_dep_mp1e
+MP1E_LIB = $_ld_mp1e
 ARCH_LIB =  $_ld_arch $_ld_iconv
 DIVX4LINUX = $_divx4linux
 DECORE_LIB = $_ld_decore
@@ -2654,6 +2677,9 @@
 /* use only decoders from libavcodec: */
 #define CONFIG_DECODERS 1
 
+/* mp1e rte encoder */
+$_def_mp1e
+
 /* XAnim DLL support */
 $_def_xanim
 $_def_xanim_path
@@ -2724,6 +2750,9 @@
 
 /* libmad support */
 $_def_mad
+
+/* mp1e support */
+$_def_mp1e
 
 /* enable OggVorbis support */
 $_def_vorbis




More information about the MPlayer-cvslog mailing list