# HG changeset patch # User jaf # Date 1005655472 0 # Node ID 3065a3d96df0e45072c4aea47412bee116f5e60f # Parent 946861a3ba72ddaee48b7ab30bd9bb0b3aef539e why not autodetecting lirc? diff -r 946861a3ba72 -r 3065a3d96df0 configure --- 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"