MP1E support needed by DXR3 stuff (Patch by D. Holm)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3188 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2001-11-28 15:34:31 +00:00
parent d9dca0c290
commit dd4b508359
1 changed files with 29 additions and 0 deletions

29
configure vendored
View File

@ -651,6 +651,7 @@ _iconv=auto
_rtc=auto
_ossaudio=auto
_mad=auto
_mp1e=auto
_vorbis=auto
_css=auto
_dvdread=auto
@ -1973,6 +1974,26 @@ fi
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_DEP = $_dep_dshow
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 @@ $_def_libavcodecso
/* use only decoders from libavcodec: */
#define CONFIG_DECODERS 1
/* mp1e rte encoder */
$_def_mp1e
/* XAnim DLL support */
$_def_xanim
$_def_xanim_path
@ -2725,6 +2751,9 @@ $_def_png
/* libmad support */
$_def_mad
/* mp1e support */
$_def_mp1e
/* enable OggVorbis support */
$_def_vorbis