Mercurial > mplayer.hg
comparison configure @ 3242:a5f693377e23
added auto detection of tv v4l and changed tv to enabled
author | alex |
---|---|
date | Sat, 01 Dec 2001 15:05:08 +0000 |
parents | 71075e783b04 |
children | 808d1ac88074 |
comparison
equal
deleted
inserted
replaced
3241:71075e783b04 | 3242:a5f693377e23 |
---|---|
111 --disable-mencoder disable mencoder [autodetect] | 111 --disable-mencoder disable mencoder [autodetect] |
112 --enable-largefiles enable support for files >2^32 bytes long [disable] | 112 --enable-largefiles enable support for files >2^32 bytes long [disable] |
113 --enable-termcap use termcap database for key codes [autodetect] | 113 --enable-termcap use termcap database for key codes [autodetect] |
114 --enable-lirc enable LIRC (remote control) support [autodetect] | 114 --enable-lirc enable LIRC (remote control) support [autodetect] |
115 --enable-gui enable GUI [disable] | 115 --enable-gui enable GUI [disable] |
116 --enable-tv enable TV Interface (tv/dvb grabbers) [disable] | 116 --disable-tv disable TV Interface (tv/dvb grabbers) [enable] |
117 --disable-tv-v4l disable Video 4 Linux TV Interface support [autodetect] | |
117 --disable-win32 disable Win32 DLL support [autodetect] | 118 --disable-win32 disable Win32 DLL support [autodetect] |
118 --disable-dshow disable DirectShow support (if no C++ compiler and | 119 --disable-dshow disable DirectShow support (if no C++ compiler and |
119 libs are available or find the dshow codecs slower | 120 libs are available or find the dshow codecs slower |
120 than the old VfW ones) [autodetect] | 121 than the old VfW ones) [autodetect] |
121 --disable-xanim disable XAnim DLL support [autodetect] | 122 --disable-xanim disable XAnim DLL support [autodetect] |
668 _alsa=auto | 669 _alsa=auto |
669 _fastmemcpy=yes | 670 _fastmemcpy=yes |
670 _win32=auto | 671 _win32=auto |
671 _dshow=auto | 672 _dshow=auto |
672 _select=yes | 673 _select=yes |
673 _tv=no | 674 _tv=yes |
675 _tv_v4l=auto | |
674 _streaming=no | 676 _streaming=no |
675 _divx4linux=auto | 677 _divx4linux=auto |
676 _lirc=auto | 678 _lirc=auto |
677 _gui=no | 679 _gui=no |
678 _termcap=auto | 680 _termcap=auto |
757 --disable-sgiaudio) _sgiaudio=no ;; | 759 --disable-sgiaudio) _sgiaudio=no ;; |
758 --enable-alsa) _alsa=yes ;; | 760 --enable-alsa) _alsa=yes ;; |
759 --disable-alsa) _alsa=no ;; | 761 --disable-alsa) _alsa=no ;; |
760 --enable-tv) _tv=yes ;; | 762 --enable-tv) _tv=yes ;; |
761 --disable-tv) _tv=no ;; | 763 --disable-tv) _tv=no ;; |
764 --enable-tv-v4l) _tv_v4l=yes ;; | |
765 --disable-tv-v4l) _tv_v4l=no ;; | |
762 --enable-fastmemcpy) _fastmemcpy=yes ;; | 766 --enable-fastmemcpy) _fastmemcpy=yes ;; |
763 --disable-fastmemcpy) _fastmemcpy=no ;; | 767 --disable-fastmemcpy) _fastmemcpy=no ;; |
764 --enable-streaming) _streaming=yes ;; | 768 --enable-streaming) _streaming=yes ;; |
765 --disable-streaming) _streaming=no ;; | 769 --disable-streaming) _streaming=no ;; |
766 --enable-divx4linux) _divx4linux=yes ;; | 770 --enable-divx4linux) _divx4linux=yes ;; |
1736 else | 1740 else |
1737 _def_sdl='#undef HAVE_SDL' | 1741 _def_sdl='#undef HAVE_SDL' |
1738 fi | 1742 fi |
1739 echores "$_sdl (with $_sdlconfig)" | 1743 echores "$_sdl (with $_sdlconfig)" |
1740 | 1744 |
1745 | |
1741 echocheck "DXR3/H+" | 1746 echocheck "DXR3/H+" |
1742 if test "$_dxr3" = auto ; then | 1747 if test "$_dxr3" = auto ; then |
1743 cat > $TMPC << EOF | 1748 cat > $TMPC << EOF |
1744 #include <libdxr3/api.h> | 1749 #include <libdxr3/api.h> |
1745 int main(void) { return 0; } | 1750 int main(void) { return 0; } |
2311 fi | 2316 fi |
2312 echores "$_fastmemcpy" | 2317 echores "$_fastmemcpy" |
2313 | 2318 |
2314 | 2319 |
2315 echocheck "TV interface" | 2320 echocheck "TV interface" |
2316 # FIXME tv check | |
2317 if test "$_tv" = yes ; then | 2321 if test "$_tv" = yes ; then |
2318 _def_tv='#define USE_TV 1' | 2322 _def_tv='#define USE_TV 1' |
2319 _inputmodules="tv $_inputmodules" | 2323 _inputmodules="tv $_inputmodules" |
2320 else | 2324 else |
2321 _def_tv='#undef USE_TV' | 2325 _def_tv='#undef USE_TV' |
2322 fi | 2326 fi |
2323 echores "$_tv" | 2327 echores "$_tv" |
2328 | |
2329 echocheck "Video 4 Linux TV interface" | |
2330 if test "$_tv_v4l" = auto && test "$_tv" = yes && linux ; then | |
2331 _tv_v4l=no | |
2332 if test -c /dev/video0 ; then | |
2333 cat > $TMPC <<EOF | |
2334 #include <linux/videodev.h> | |
2335 int main(void) { return 0; } | |
2336 EOF | |
2337 cc_check && _tv_v4l=yes | |
2338 fi | |
2339 else | |
2340 _tv_v4l=no | |
2341 fi | |
2342 if test "$_tv_v4l" = yes ; then | |
2343 _def_tv_v4l='#define HAVE_TV_V4L 1' | |
2344 _inputmodules="tv-v4l $_inputmodules" | |
2345 else | |
2346 _def_tv_v4l='#undef HAVE_TV_V4L' | |
2347 fi | |
2348 echores "$_tv_v4l" | |
2324 | 2349 |
2325 | 2350 |
2326 echocheck "select" | 2351 echocheck "select" |
2327 if test "$_select" = no ; then | 2352 if test "$_select" = no ; then |
2328 _def_select='#undef HAVE_AUDIO_SELECT' | 2353 _def_select='#undef HAVE_AUDIO_SELECT' |
2741 #undef FAST_OSD | 2766 #undef FAST_OSD |
2742 #undef FAST_OSD_TABLE | 2767 #undef FAST_OSD_TABLE |
2743 | 2768 |
2744 /* Enable TV Interface support */ | 2769 /* Enable TV Interface support */ |
2745 $_def_tv | 2770 $_def_tv |
2771 | |
2772 /* Enable Video 4 Linux TV interface support */ | |
2773 $_def_tv_v4l | |
2746 | 2774 |
2747 /* Define if your processor stores words with the most significant | 2775 /* Define if your processor stores words with the most significant |
2748 byte first (like Motorola and SPARC, unlike Intel and VAX). */ | 2776 byte first (like Motorola and SPARC, unlike Intel and VAX). */ |
2749 $_def_words_endian | 2777 $_def_words_endian |
2750 | 2778 |