Mercurial > mplayer.hg
comparison configure @ 3015:8bf21c807656
RTC is autodetected
author | arpi |
---|---|
date | Tue, 20 Nov 2001 07:53:20 +0000 |
parents | 53396b7cdac8 |
children | 9eb1cae56cae |
comparison
equal
deleted
inserted
replaced
3014:16576e05b93a | 3015:8bf21c807656 |
---|---|
117 libs are available or find the dshow codecs slower | 117 libs are available or find the dshow codecs slower |
118 than the old VfW ones) [autodetect] | 118 than the old VfW ones) [autodetect] |
119 --disable-xanim disable XAnim DLL support [autodetect] | 119 --disable-xanim disable XAnim DLL support [autodetect] |
120 --enable-vorbis build with OggVorbis support [autodetect] | 120 --enable-vorbis build with OggVorbis support [autodetect] |
121 --disable-iconv do not use iconv(3) function [autodetect] | 121 --disable-iconv do not use iconv(3) function [autodetect] |
122 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] | |
122 | 123 |
123 Video: | 124 Video: |
124 --enable-gl build with OpenGL render support [autodetect] | 125 --enable-gl build with OpenGL render support [autodetect] |
125 --enable-dga build with DGA support [autodetect] | 126 --enable-dga build with DGA support [autodetect] |
126 --enable-svga build with SVGAlib support [autodetect] | 127 --enable-svga build with SVGAlib support [autodetect] |
145 Audio: | 146 Audio: |
146 --disable-ossaudio disable OSS sound support [autodetect] | 147 --disable-ossaudio disable OSS sound support [autodetect] |
147 --disable-alsa disable alsa sound support [autodetect] | 148 --disable-alsa disable alsa sound support [autodetect] |
148 --disable-sunaudio disable Sun sound support [autodetect] | 149 --disable-sunaudio disable Sun sound support [autodetect] |
149 --disable-mad disable mad audio support [autodetect] | 150 --disable-mad disable mad audio support [autodetect] |
151 --disable-select disable using select() on OSS audio device [enable] | |
150 | 152 |
151 Miscellaneous options: | 153 Miscellaneous options: |
152 --cc=COMPILER use this C compiler to build MPlayer [gcc] | 154 --cc=COMPILER use this C compiler to build MPlayer [gcc] |
153 --target=PLATFORM target platform (i386-linux, arm-linux, etc) | 155 --target=PLATFORM target platform (i386-linux, arm-linux, etc) |
154 --enable-static build a statically linked binary. If more linking | 156 --enable-static build a statically linked binary. If more linking |
155 options needed : --enable-static="-lslang -lncurses" | 157 options needed : --enable-static="-lslang -lncurses" |
156 --language=xx select a language [en] | 158 --language=xx select a language [en] |
157 (Available: $LANGUAGES) | 159 (Available: $LANGUAGES) |
158 --disable-select disable audio select() support (for example, required | |
159 for ALSA or Vortex2 driver) [enable] | |
160 | 160 |
161 Advanced options: | 161 Advanced options: |
162 --enable-mmx build with mmx support [autodetect] | 162 --enable-mmx build with mmx support [autodetect] |
163 --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect] | 163 --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect] |
164 --enable-3dnow build with 3dnow! support [autodetect] | 164 --enable-3dnow build with 3dnow! support [autodetect] |
640 _svga=auto | 640 _svga=auto |
641 _fbdev=no | 641 _fbdev=no |
642 _dvb=auto | 642 _dvb=auto |
643 _dxr3=auto | 643 _dxr3=auto |
644 _iconv=auto | 644 _iconv=auto |
645 _rtc=auto | |
645 _ossaudio=auto | 646 _ossaudio=auto |
646 _mad=auto | 647 _mad=auto |
647 _vorbis=auto | 648 _vorbis=auto |
648 _css=auto | 649 _css=auto |
649 _dvdread=auto | 650 _dvdread=auto |
715 --disable-dvb) _dvb=no ;; | 716 --disable-dvb) _dvb=no ;; |
716 --enable-dxr3) _dxr3=yes ;; | 717 --enable-dxr3) _dxr3=yes ;; |
717 --disable-dxr3) _dxr3=no ;; | 718 --disable-dxr3) _dxr3=no ;; |
718 --enable-iconv) _iconv=yes ;; | 719 --enable-iconv) _iconv=yes ;; |
719 --disable-iconv) _iconv=no ;; | 720 --disable-iconv) _iconv=no ;; |
721 --enable-rtc) _rtc=yes ;; | |
722 --disable-rtc) _rtc=no ;; | |
720 --enable-ossaudio) _ossaudio=yes ;; | 723 --enable-ossaudio) _ossaudio=yes ;; |
721 --disable-ossaudio) _ossaudio=no ;; | 724 --disable-ossaudio) _ossaudio=no ;; |
722 --enable-mad) _mad=yes ;; | 725 --enable-mad) _mad=yes ;; |
723 --disable-mad) _mad=no ;; | 726 --disable-mad) _mad=no ;; |
724 --enable-vorbis) _vorbis=yes ;; | 727 --enable-vorbis) _vorbis=yes ;; |
1860 _def_zlib='#undef HAVE_ZLIB' | 1863 _def_zlib='#undef HAVE_ZLIB' |
1861 fi | 1864 fi |
1862 echores "$_zlib" | 1865 echores "$_zlib" |
1863 | 1866 |
1864 | 1867 |
1868 echocheck "RTC" | |
1869 if linux ; then | |
1870 if test "$_rtc" = auto ; then | |
1871 cat > $TMPC << EOF | |
1872 #include <sys/ioctl.h> | |
1873 #include <linux/rtc.h> | |
1874 int main(void) { return RTC_IRQP_READ; } | |
1875 EOF | |
1876 _rtc=no | |
1877 cc_check && _rtc=yes | |
1878 fi | |
1879 echores "$_rtc" | |
1880 else | |
1881 _rtc=no | |
1882 echores "no (linux-specific)" | |
1883 fi | |
1884 if test "$_rtc" = yes ; then | |
1885 _def_rtc='#define HAVE_RTC 1' | |
1886 else | |
1887 _def_rtc='#undef HAVE_RTC' | |
1888 fi | |
1889 | |
1865 echocheck "mad support" | 1890 echocheck "mad support" |
1866 if test "$_mad" = auto ; then | 1891 if test "$_mad" = auto ; then |
1867 _mad=no | 1892 _mad=no |
1868 cat > $TMPC << EOF | 1893 cat > $TMPC << EOF |
1869 #include <mad.h> | 1894 #include <mad.h> |
2446 try to recompile MPlayer with this option disabled! */ | 2471 try to recompile MPlayer with this option disabled! */ |
2447 $_def_select | 2472 $_def_select |
2448 | 2473 |
2449 /* define this to use iconv(3) function to codepage conversions */ | 2474 /* define this to use iconv(3) function to codepage conversions */ |
2450 $_def_iconv | 2475 $_def_iconv |
2476 | |
2477 /* define this to use RTC (/dev/rtc) for video timers (LINUX only) */ | |
2478 $_def_rtc | |
2451 | 2479 |
2452 /* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */ | 2480 /* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */ |
2453 #define MAX_OUTBURST 65536 | 2481 #define MAX_OUTBURST 65536 |
2454 | 2482 |
2455 /* set up audio OUTBURST. Do not change this! */ | 2483 /* set up audio OUTBURST. Do not change this! */ |