[Mplayer-cvslog] CVS: main configure,1.393,1.394 Makefile,1.158,1.159

Nick Kurshev nick at mplayer.dev.hu
Mon Feb 25 16:04:12 CET 2002


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

Modified Files:
	configure Makefile 
Log Message:
provide unstable code

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -r1.393 -r1.394
--- configure	23 Feb 2002 21:20:16 -0000	1.393
+++ configure	25 Feb 2002 15:04:09 -0000	1.394
@@ -192,6 +192,7 @@
 
 Hazardous options a.k.a. "DO NOT BUGREPORT ANYTHING !"
   --disable-gcc-checking   disable gcc version checking [enable]
+  --enable-xp            enable eXtra Performance [default=no]
 
 Use these options if autodetection fails:
   --with-extraincdir=DIR   extra headers (png, dvb, mad, sdl, css, ...) in DIR
@@ -218,6 +219,7 @@
 _cc=gcc
 test "$CC" && _cc="$CC"
 _as=auto
+_enable_xp=no
 for ac_option do
   case "$ac_option" in
   --target=*)
@@ -235,6 +237,12 @@
   --disable-gcc-checking)
     _skip_cc_check=yes
     ;;
+  --enable-xp)
+    _enable_xp=yes
+    ;;
+  --disable-xp)
+    _enable_xp=no
+    ;;
   --enable-static)
     _ld_static='-static'
     ;;
@@ -498,7 +506,7 @@
 }
 EOF
   $_cc -o "$TMPO" "$TMPC"
-  case `"$TMPO"` in
+  case "$TMPO" in
     0-0) proc="ev4" ;;
     1-0) proc="ev5" ;;
     1-1) proc="ev56" ;;
@@ -2977,7 +2985,10 @@
 fi
 echores "$_lirc"
 
-
+# checking for extra performance
+_def_xp='#undef __ENABLE_XP'
+test "$_enable_xp" = yes && _def_xp='#define __ENABLE_XP 1'
+echo Checking for xp = bleeding edge ... "$_enable_xp"
 
 #############################################################################
 echo "Creating config.mak"
@@ -3074,6 +3085,10 @@
 GUI = $_gui
 DEBUG = -DDEBUG
 
+# --- HAZARDOUS STUFF
+
+ENABLE_XP=$_enable_xp
+
 EOF
 
 #############################################################################
@@ -3369,6 +3384,12 @@
 
 #if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
 #define X11_FULLSCREEN 1
+#endif
+
+$_def_xp
+
+#ifdef __ENABLE_XP
+#define __ENABLE_DEC_AHEAD 1
 #endif
 
 EOF

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- Makefile	24 Feb 2002 13:29:44 -0000	1.158
+++ Makefile	25 Feb 2002 15:04:09 -0000	1.159
@@ -6,6 +6,15 @@
 
 include config.mak
 
+ifeq ($(ENABLE_XP),yes)
+PRG = mplayerxp
+PRG_HQ = mplayerHQxp
+PRG_AVIP = aviparsexp
+PRG_FIBMAP = fibmap_mplayerxp
+PRG_TV = tvisionxp
+PRG_CFG = codec-cfg-xp
+PRG_MENCODER = mencoderxp
+else
 PRG = mplayer
 PRG_HQ = mplayerHQ
 PRG_AVIP = aviparse
@@ -13,6 +22,7 @@
 PRG_TV = tvision
 PRG_CFG = codec-cfg
 PRG_MENCODER = mencoder
+endif
 # these subdirectories required installation due binaries within them
 ifeq ($(VIDIX),yes)
 SUBDIRS += libdha vidix




More information about the MPlayer-cvslog mailing list