Mercurial > mplayer.hg
changeset 2863:3065a3d96df0
why not autodetecting lirc?
author | jaf |
---|---|
date | Tue, 13 Nov 2001 12:44:32 +0000 |
parents | 946861a3ba72 |
children | 1a710f130a7f |
files | configure |
diffstat | 1 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Nov 13 09:48:50 2001 +0000 +++ b/configure Tue Nov 13 12:44:32 2001 +0000 @@ -166,7 +166,7 @@ --enable-largefiles enable support for files >2^32 bytes long [disable] --enable-termcap use termcap database for key codes [disable] --enable-xmmp use XMMP audio drivers [disable] - --enable-lirc enable LIRC (remote control) support [disable] + --enable-lirc enable LIRC (remote control) support [autodetect] --enable-gui enable GUI [disable] --enable-tv enable TV Interface (tv/dvb grabbers) [disable] --disable-win32 disable Win32 DLL support [autodetect] @@ -689,6 +689,10 @@ _dvb=yes fi +if test -c /dev/lirc ; then + _lirc=yes +fi + cat > $TMPC << EOF int main( void ) { return 0; } EOF @@ -1385,6 +1389,9 @@ --enable-fbdev) _fbdev=yes ;; + --enable-dvb) + _dvb=yes + ;; --enable-dxr3) _dxr3=yes ;; @@ -1510,12 +1517,12 @@ --disable-dxr3) _dxr3=no ;; - --enable-dvb) - _dvb=yes - ;; --disable-dvb) _dvb=no ;; + --disable-lirc) + _lirc=no + ;; --disable-iconv) _iconv=no ;; @@ -1799,6 +1806,7 @@ echo "Checking for Sun Audio ... $_sun_audio" echo "Checking for Sun mediaLib ... $_mlib" echo "Checking for SGI Audio ... $_sgi_audio" +echo "Checking for LIRC ... $_lirc" echo "Checking for DeCSS support ... $_css" echo "Checking for DVDread support ... $_dvdread" echo "Checking for PNG support ... $_png"