Mercurial > mplayer.hg
comparison configure @ 3187:ad286d1b7705
MP1E support needed by DXR3 stuff (Patch by D. Holm)
author | atmos4 |
---|---|
date | Wed, 28 Nov 2001 15:34:31 +0000 |
parents | 59d8aea76341 |
children | 217f564f29ff |
comparison
equal
deleted
inserted
replaced
3186:1d4fb4d9aab5 | 3187:ad286d1b7705 |
---|---|
649 _dxr3=auto | 649 _dxr3=auto |
650 _iconv=auto | 650 _iconv=auto |
651 _rtc=auto | 651 _rtc=auto |
652 _ossaudio=auto | 652 _ossaudio=auto |
653 _mad=auto | 653 _mad=auto |
654 _mp1e=auto | |
654 _vorbis=auto | 655 _vorbis=auto |
655 _css=auto | 656 _css=auto |
656 _dvdread=auto | 657 _dvdread=auto |
657 _xanim=auto | 658 _xanim=auto |
658 _xinerama=auto | 659 _xinerama=auto |
1971 _def_mad='#undef USE_LIBMAD' | 1972 _def_mad='#undef USE_LIBMAD' |
1972 fi | 1973 fi |
1973 echores "$_mad" | 1974 echores "$_mad" |
1974 | 1975 |
1975 | 1976 |
1977 echocheck "mp1e rte support" | |
1978 if test "$_mp1e" = auto ; then | |
1979 _mp1e=no | |
1980 cat > $TMPC << EOF | |
1981 #include <sys/types.h> | |
1982 #include <unistd.h> | |
1983 #include <rte.h> | |
1984 int main(void) { return 0; } | |
1985 EOF | |
1986 cc_check -lrte && _mp1e=yes | |
1987 fi | |
1988 if test "$_mp1e" = yes ; then | |
1989 _def_mp1e='#define USE_MP1E 1' | |
1990 _ld_mp1e='-lrte' | |
1991 else | |
1992 _def_mp1e='#undef USE_MP1E' | |
1993 fi | |
1994 echores "$_mp1e" | |
1995 | |
1996 | |
1976 echocheck "OggVorbis support" | 1997 echocheck "OggVorbis support" |
1977 if test "$_vorbis" = auto ; then | 1998 if test "$_vorbis" = auto ; then |
1978 _vorbis=no | 1999 _vorbis=no |
1979 cat > $TMPC << EOF | 2000 cat > $TMPC << EOF |
1980 #include <vorbis/codec.h> | 2001 #include <vorbis/codec.h> |
2498 W32_LIB = $_ld_win32 | 2519 W32_LIB = $_ld_win32 |
2499 DS_DEP = $_dep_dshow | 2520 DS_DEP = $_dep_dshow |
2500 DS_LIB = $_ld_dshow | 2521 DS_LIB = $_ld_dshow |
2501 AV_DEP = $_dep_libavcodec | 2522 AV_DEP = $_dep_libavcodec |
2502 AV_LIB = $_ld_libavcodec | 2523 AV_LIB = $_ld_libavcodec |
2524 MP1E_DEP = $_dep_mp1e | |
2525 MP1E_LIB = $_ld_mp1e | |
2503 ARCH_LIB = $_ld_arch $_ld_iconv | 2526 ARCH_LIB = $_ld_arch $_ld_iconv |
2504 DIVX4LINUX = $_divx4linux | 2527 DIVX4LINUX = $_divx4linux |
2505 DECORE_LIB = $_ld_decore | 2528 DECORE_LIB = $_ld_decore |
2506 MENCODER = $_mencoder | 2529 MENCODER = $_mencoder |
2507 ENCORE_LIB = $_ld_encore | 2530 ENCORE_LIB = $_ld_encore |
2652 $_def_libavcodecso | 2675 $_def_libavcodecso |
2653 | 2676 |
2654 /* use only decoders from libavcodec: */ | 2677 /* use only decoders from libavcodec: */ |
2655 #define CONFIG_DECODERS 1 | 2678 #define CONFIG_DECODERS 1 |
2656 | 2679 |
2680 /* mp1e rte encoder */ | |
2681 $_def_mp1e | |
2682 | |
2657 /* XAnim DLL support */ | 2683 /* XAnim DLL support */ |
2658 $_def_xanim | 2684 $_def_xanim |
2659 $_def_xanim_path | 2685 $_def_xanim_path |
2660 | 2686 |
2661 /* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/ | 2687 /* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/ |
2722 /* enable PNG support */ | 2748 /* enable PNG support */ |
2723 $_def_png | 2749 $_def_png |
2724 | 2750 |
2725 /* libmad support */ | 2751 /* libmad support */ |
2726 $_def_mad | 2752 $_def_mad |
2753 | |
2754 /* mp1e support */ | |
2755 $_def_mp1e | |
2727 | 2756 |
2728 /* enable OggVorbis support */ | 2757 /* enable OggVorbis support */ |
2729 $_def_vorbis | 2758 $_def_vorbis |
2730 | 2759 |
2731 $_def_streaming | 2760 $_def_streaming |