[Mplayer-cvslog] CVS: main configure,1.404,1.405
Alex Beregszaszi
alex at mplayer.dev.hu
Fri Mar 15 23:16:05 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv26162
Modified Files:
configure
Log Message:
runtime cpudetection
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.404
retrieving revision 1.405
diff -u -r1.404 -r1.405
--- configure 15 Mar 2002 20:48:42 -0000 1.404
+++ configure 15 Mar 2002 22:16:02 -0000 1.405
@@ -141,6 +141,8 @@
--disable-new-input disable new input system [enable]
--enable-joystick enable joystick support in new input [disable]
--enable-i18n GNU internationalisation [disable]
+ --enable-runtime-cpudetection
+ enable runtime CPU detection code [disable]
Video:
--enable-gl build with OpenGL render support [autodetect]
--enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect]
@@ -794,6 +796,7 @@
_shm=auto
_linux_devfs=no
_i18n=no
+_runtime_cpudetection=no
for ac_option do
case "$ac_option" in
@@ -814,6 +817,8 @@
--disable-mencoder) _mencoder=no ;;
--enable-i18n) _i18n=yes ;;
--disable-i18n) _i18n=no ;;
+ --enable-runtime-cpudetection) _runtime_cpudetection=yes ;;
+ --disable-runtime-cpudetection) _runtime_cpudetection=no ;;
--enable-x11) _x11=yes ;;
--disable-x11) _x11=no ;;
--enable-xv) _xv=yes ;;
@@ -1189,6 +1194,15 @@
test -f help_mp-${LINGUAS}.h || die "help_mp-${LINGUAS}.h not found"
+echocheck "runtime cpudetection"
+if test "$_runtime_cpudetection" = yes ; then
+ _def_runtime_cpudetection='#define RUNTIME_CPUDETECT 1'
+else
+ _def_runtime_cpudetection='#undef RUNTIME_CPUDETECT'
+fi
+echores "$_runtime_cpudetection"
+
+
echocheck "kstat"
cat > $TMPC << EOF
#include <kstat.h>
@@ -2553,7 +2567,7 @@
_xanim=no
if test "$_dl" = yes ; then
if test -z "$_xanimlibdir" ; then
- for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim ; do
+ for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim $XANIM_MOD_DIR ; do
if test -d "$I" ; then
_xanimlibdir="$I"
break;
@@ -3270,6 +3284,9 @@
/* use GNU internationalisation */
$_def_i18n
+
+/* Runtime Cpudetection */
+$_def_runtime_cpudetection
#define USR_PREFIX "$_prefix"
More information about the MPlayer-cvslog
mailing list