comparison configure @ 3327:e4f0723d3108

Added support for the libmp1e ultrafast mpeg1 realtime encoder. This makes rte obsolete.
author mswitch
date Tue, 04 Dec 2001 23:10:59 +0000
parents da763020034d
children c8adf1374d42
comparison
equal deleted inserted replaced
3326:fd5edacbb093 3327:e4f0723d3108
153 Audio: 153 Audio:
154 --disable-ossaudio disable OSS sound support [autodetect] 154 --disable-ossaudio disable OSS sound support [autodetect]
155 --disable-alsa disable alsa sound support [autodetect] 155 --disable-alsa disable alsa sound support [autodetect]
156 --disable-sunaudio disable Sun sound support [autodetect] 156 --disable-sunaudio disable Sun sound support [autodetect]
157 --disable-mad disable mad audio support [autodetect] 157 --disable-mad disable mad audio support [autodetect]
158 --disable-mp1e disable mp1e codec support [autodetect]
159 --disable-select disable using select() on OSS audio device [enable] 158 --disable-select disable using select() on OSS audio device [enable]
160 159
161 Miscellaneous options: 160 Miscellaneous options:
162 --cc=COMPILER use this C compiler to build MPlayer [gcc] 161 --cc=COMPILER use this C compiler to build MPlayer [gcc]
163 --target=PLATFORM target platform (i386-linux, arm-linux, etc) 162 --target=PLATFORM target platform (i386-linux, arm-linux, etc)
657 _dxr3=auto 656 _dxr3=auto
658 _iconv=auto 657 _iconv=auto
659 _rtc=auto 658 _rtc=auto
660 _ossaudio=auto 659 _ossaudio=auto
661 _mad=auto 660 _mad=auto
662 _mp1e=auto
663 _vorbis=auto 661 _vorbis=auto
664 _css=auto 662 _css=auto
665 _dvdread=auto 663 _dvdread=auto
666 _xanim=auto 664 _xanim=auto
667 _xinerama=auto 665 _xinerama=auto
739 --disable-rtc) _rtc=no ;; 737 --disable-rtc) _rtc=no ;;
740 --enable-ossaudio) _ossaudio=yes ;; 738 --enable-ossaudio) _ossaudio=yes ;;
741 --disable-ossaudio) _ossaudio=no ;; 739 --disable-ossaudio) _ossaudio=no ;;
742 --enable-mad) _mad=yes ;; 740 --enable-mad) _mad=yes ;;
743 --disable-mad) _mad=no ;; 741 --disable-mad) _mad=no ;;
744 --enable-mp1e) _mp1e=yes ;;
745 --disable-mp1e) _mp1e=no ;;
746 --enable-vorbis) _vorbis=yes ;; 742 --enable-vorbis) _vorbis=yes ;;
747 --disable-vorbis) _vorbis=no ;; 743 --disable-vorbis) _vorbis=no ;;
748 --enable-css) _css=yes ;; 744 --enable-css) _css=yes ;;
749 --disable-css) _css=no ;; 745 --disable-css) _css=no ;;
750 --enable-dvdread) _dvdread=yes ;; 746 --enable-dvdread) _dvdread=yes ;;
1814 echores "$_nas" 1810 echores "$_nas"
1815 1811
1816 echocheck "DXR3/H+" 1812 echocheck "DXR3/H+"
1817 if test "$_dxr3" = auto ; then 1813 if test "$_dxr3" = auto ; then
1818 cat > $TMPC << EOF 1814 cat > $TMPC << EOF
1819 #include <libdxr3/api.h> 1815 #include <linux/em8300.h>
1820 int main(void) { return 0; } 1816 int main(void) { return 0; }
1821 EOF 1817 EOF
1822 _dxr3=no 1818 _dxr3=no
1823 cc_check -ldxr3 && _dxr3=yes 1819 cc_check && _dxr3=yes
1824 fi 1820 fi
1825 if test "$_dxr3" = yes ; then 1821 if test "$_dxr3" = yes ; then
1826 _def_dxr3='#define HAVE_DXR3 1' 1822 _def_dxr3='#define HAVE_DXR3 1'
1827 _ld_dxr3='-ldxr3'
1828 _vosrc="$_vosrc vo_dxr3.c" 1823 _vosrc="$_vosrc vo_dxr3.c"
1829 _aosrc="$_aosrc ao_dxr3.c" 1824 _aosrc="$_aosrc ao_dxr3.c"
1830 _vomodules="dxr3 $_vomodules" 1825 _vomodules="dxr3 $_vomodules"
1831 _aomodules="dxr3 $_aomodules" 1826 _aomodules="dxr3 $_aomodules"
1832 else 1827 else
2066 _ld_mad='-lmad' 2061 _ld_mad='-lmad'
2067 else 2062 else
2068 _def_mad='#undef USE_LIBMAD' 2063 _def_mad='#undef USE_LIBMAD'
2069 fi 2064 fi
2070 echores "$_mad" 2065 echores "$_mad"
2071
2072
2073 echocheck "mp1e rte support"
2074 if test "$_mp1e" = auto ; then
2075 _mp1e=no
2076 cat > $TMPC << EOF
2077 #include <unistd.h>
2078 #include <sys/types.h>
2079 #include <rte.h>
2080 int main(void) { return 0; }
2081 EOF
2082 cc_check -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -lrte && _mp1e=yes
2083 fi
2084 if test "$_mp1e" = yes ; then
2085 _largefiles=yes
2086 _def_mp1e='#define USE_MP1E 1'
2087 _ld_mp1e='-lrte'
2088 else
2089 _def_mp1e='#undef USE_MP1E'
2090 _ld_mp1e=''
2091 fi
2092 echores "$_mp1e"
2093 2066
2094 2067
2095 echocheck "OggVorbis support" 2068 echocheck "OggVorbis support"
2096 if test "$_vorbis" = auto ; then 2069 if test "$_vorbis" = auto ; then
2097 _vorbis=no 2070 _vorbis=no
2568 # FIXME bsd needs this so maybe other OS'es 2541 # FIXME bsd needs this so maybe other OS'es
2569 CFLAGS="$CFLAGS -D_THREAD_SAFE" 2542 CFLAGS="$CFLAGS -D_THREAD_SAFE"
2570 fi 2543 fi
2571 2544
2572 # 64 bit file offsets? 2545 # 64 bit file offsets?
2573 if test "$_largefiles" = yes || test "$_mp1e" = yes || freebsd ; then 2546 if test "$_largefiles" = yes || freebsd ; then
2574 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" 2547 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
2575 if test "$_dvdread" = yes || test "$_mp1e" = yes ; then 2548 if test "$_dvdread" = yes ; then
2576 # dvdread support requires this (for off64_t) 2549 # dvdread support requires this (for off64_t)
2577 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" 2550 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
2578 fi 2551 fi
2579 fi 2552 fi
2580 2553
2629 X11_INC = $_inc_x11 2602 X11_INC = $_inc_x11
2630 X11DIR = $_ld_x11 2603 X11DIR = $_ld_x11
2631 2604
2632 # video output 2605 # video output
2633 X_LIB = $_ld_x11 $_ld_gl $_ld_dga $_ld_xv $_ld_vm $_ld_xinerama $_ld_mad $_ld_sock 2606 X_LIB = $_ld_x11 $_ld_gl $_ld_dga $_ld_xv $_ld_vm $_ld_xinerama $_ld_mad $_ld_sock
2634 DXR3_LIB = $_ld_dxr3
2635 GGI_LIB = $_ld_ggi 2607 GGI_LIB = $_ld_ggi
2636 MLIB_LIB = $_ld_mlib 2608 MLIB_LIB = $_ld_mlib
2637 MLIB_INC = $_inc_mlib 2609 MLIB_INC = $_inc_mlib
2638 PNG_LIB = $_ld_png 2610 PNG_LIB = $_ld_png
2639 SDL_LIB = $_ld_sdl 2611 SDL_LIB = $_ld_sdl
2657 W32_LIB = $_ld_win32 2629 W32_LIB = $_ld_win32
2658 DS_DEP = $_dep_dshow 2630 DS_DEP = $_dep_dshow
2659 DS_LIB = $_ld_dshow 2631 DS_LIB = $_ld_dshow
2660 AV_DEP = $_dep_libavcodec 2632 AV_DEP = $_dep_libavcodec
2661 AV_LIB = $_ld_libavcodec 2633 AV_LIB = $_ld_libavcodec
2662 MP1E_LIB = $_ld_mp1e
2663 ARCH_LIB = $_ld_arch $_ld_iconv 2634 ARCH_LIB = $_ld_arch $_ld_iconv
2664 DIVX4LINUX = $_divx4linux 2635 DIVX4LINUX = $_divx4linux
2665 DECORE_LIB = $_ld_decore 2636 DECORE_LIB = $_ld_decore
2666 MENCODER = $_mencoder 2637 MENCODER = $_mencoder
2667 ENCORE_LIB = $_ld_encore 2638 ENCORE_LIB = $_ld_encore
2802 $_def_libavcodecso 2773 $_def_libavcodecso
2803 2774
2804 /* use only decoders from libavcodec: */ 2775 /* use only decoders from libavcodec: */
2805 #define CONFIG_DECODERS 1 2776 #define CONFIG_DECODERS 1
2806 2777
2807 /* mp1e rte encoder */
2808 $_def_mp1e
2809
2810 /* XAnim DLL support */ 2778 /* XAnim DLL support */
2811 $_def_xanim 2779 $_def_xanim
2812 $_def_xanim_path 2780 $_def_xanim_path
2813 2781
2814 /* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/ 2782 /* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
2884 /* enable PNG support */ 2852 /* enable PNG support */
2885 $_def_png 2853 $_def_png
2886 2854
2887 /* libmad support */ 2855 /* libmad support */
2888 $_def_mad 2856 $_def_mad
2889
2890 /* mp1e support */
2891 $_def_mp1e
2892 2857
2893 /* enable OggVorbis support */ 2858 /* enable OggVorbis support */
2894 $_def_vorbis 2859 $_def_vorbis
2895 2860
2896 $_def_streaming 2861 $_def_streaming