1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

Add support for --enable-hardcoded-tables like FFmpeg has.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30251 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-01-09 13:39:26 +00:00
parent a91c19964d
commit 13b9a20821

16
configure vendored
View File

@ -475,6 +475,7 @@ Advanced options:
--enable-neon enable NEON (ARM) [autodetect]
--enable-iwmmxt enable iWMMXt (ARM) [autodetect]
--disable-fastmemcpy disable 3DNow!/SSE/MMX optimized memcpy [enable]
--enable-hardcoded-tables put tables in binary instead of calculating them at startup [disable]
--enable-big-endian force byte order to big-endian [autodetect]
--enable-debug[=1-3] compile-in debugging information [disable]
--enable-profile compile-in profiling information [disable]
@ -662,6 +663,7 @@ _sgiaudio=auto
_sunaudio=auto
_alsa=auto
_fastmemcpy=yes
hardcoded_tables=no
_unrar_exec=auto
_win32dll=auto
_select=yes
@ -1117,6 +1119,8 @@ for ac_option do
--disable-pvr) _pvr=no ;;
--enable-fastmemcpy) _fastmemcpy=yes ;;
--disable-fastmemcpy) _fastmemcpy=no ;;
--enable-hardcoded-tables) hardcoded_tables=yes ;;
--disable-hardcoded-tables) hardcoded_tables=no ;;
--enable-network) _network=yes ;;
--disable-network) _network=no ;;
--enable-winsock2_h) _winsock2_h=yes ;;
@ -3344,6 +3348,15 @@ fi
echores "$_fastmemcpy"
echocheck "hard-coded tables"
if test "$hardcoded_tables" = yes ; then
def_hardcoded_tables='#define CONFIG_HARDCODED_TABLES 1'
else
def_hardcoded_tables='#define CONFIG_HARDCODED_TABLES 0'
fi
echores "$hardcoded_tables"
echocheck "mman.h"
cat > $TMPC << EOF
#include <sys/types.h>
@ -8364,6 +8377,7 @@ FAAC=$_faac
FAAD = $_faad
FAAD_INTERNAL = $_faad_internal
FASTMEMCPY = $_fastmemcpy
CONFIG_HARDCODED_TABLES = $hardcoded_tables
FBDEV = $_fbdev
FREETYPE = $_freetype
FTP = $_ftp
@ -8713,6 +8727,7 @@ $def_crash_debug
$def_debug
$def_dynamic_plugins
$def_fastmemcpy
$def_hardcoded_tables
$def_menu
$def_runtime_cpudetection
$def_sighandler
@ -8995,7 +9010,6 @@ $def_yasm
#define CONFIG_FFSERVER 0
#define CONFIG_GPL 1
#define CONFIG_GRAY 0
#define CONFIG_HARDCODED_TABLES 0
#define CONFIG_LIBVORBIS 0
#define CONFIG_POWERPC_PERF 0
#define CONFIG_SMALL 0