summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-25 15:04:09 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-25 15:04:09 +0000
commit65f9efcc582900e4172ef0356c57c1a3f5f130c8 (patch)
tree6d26433b53a116afb2be844d72d72567409d9493 /configure
parentcb7768f9bb35b55ae27835525cc6effe19ad099f (diff)
downloadmpv-65f9efcc582900e4172ef0356c57c1a3f5f130c8.tar.bz2
mpv-65f9efcc582900e4172ef0356c57c1a3f5f130c8.tar.xz
provide unstable code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4865 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure25
1 files changed, 23 insertions, 2 deletions
diff --git a/configure b/configure
index c867c380df..e4c29af0b1 100755
--- a/configure
+++ b/configure
@@ -192,6 +192,7 @@ Advanced options:
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 @@ done # for parm in ...
_cc=gcc
test "$CC" && _cc="$CC"
_as=auto
+_enable_xp=no
for ac_option do
case "$ac_option" in
--target=*)
@@ -235,6 +237,12 @@ for ac_option do
--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 @@ int main() {
}
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 @@ else
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 @@ GTK_LIBS = $_ld_static $_ld_gui
GUI = $_gui
DEBUG = -DDEBUG
+# --- HAZARDOUS STUFF
+
+ENABLE_XP=$_enable_xp
+
EOF
#############################################################################
@@ -3371,6 +3386,12 @@ $_def_xshape
#define X11_FULLSCREEN 1
#endif
+$_def_xp
+
+#ifdef __ENABLE_XP
+#define __ENABLE_DEC_AHEAD 1
+#endif
+
EOF
#############################################################################