diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-30 18:23:55 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-30 18:23:55 +0000 |
commit | 019bae008cce2457ddb43a5fbc914e8a9214a2b3 (patch) | |
tree | e15d001f9b8a2b82ff6035befb1f678d8fe607a3 /configure | |
parent | 0093c1e72b24757d97093591c53321df6f54905b (diff) | |
download | mpv-019bae008cce2457ddb43a5fbc914e8a9214a2b3.tar.bz2 mpv-019bae008cce2457ddb43a5fbc914e8a9214a2b3.tar.xz |
lirccd support by Fredrik Tolf <fredrik@dolda2000.cjb.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10216 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -147,6 +147,7 @@ Optional features: --disable-iconv do not use iconv(3) function [autodetect] --disable-setlocale disable setlocale using in mplayer [autodetect] --enable-lirc enable LIRC (remote control) support [autodetect] + --enable-lircc enable LIRCCD (LIRC client daemon) input [autodetect] --enable-joystick enable joystick support [disable] --disable-tv disable TV Interface (tv/dvb grabbers) [enable] --disable-tv-v4l disable Video4Linux TV Interface support [autodetect] @@ -1064,6 +1065,7 @@ _xvid=auto _divx4linux=auto _opendivx=no _lirc=auto +_lircc=auto _gui=no _termcap=auto _termios=auto @@ -1249,6 +1251,8 @@ for ac_option do --disable-libfame) _fame=no ;; --enable-lirc) _lirc=yes ;; --disable-lirc) _lirc=no ;; + --enable-lircc) _lircc=yes ;; + --disable-lircc) _lircc=no ;; --enable-gui) _gui=yes ;; --disable-gui) _gui=no ;; --enable-termcap) _termcap=yes ;; @@ -5195,6 +5199,22 @@ else fi echores "$_lirc" +echocheck "lircc" +if test "$_lircc" = auto ; then + _lircc=no + cat > $TMPC <<EOF +#include <lirc/lircc.h> +int main(void) { return 0; } +EOF + cc_check -llircc && _lircc=yes +fi +if test "$_lircc" = yes ; then + _def_lircc='#define HAVE_LIRCC 1' + _ld_lircc='-llircc' +else + _def_lircc='#undef HAVE_LIRCC' +fi +echores "$_lircc" ############################################################################# echo "Creating config.mak" @@ -5282,6 +5302,7 @@ SGIAUDIO_LIB = $_ld_sgiaudio # input/demuxer/codecs TERMCAP_LIB = $_ld_termcap LIRC_LIB = $_ld_lirc +LIRCC_LIB = $_ld_lircc CSS_USE = $_css CSS_LIB = $_ld_css DVDKIT = $_dvdkit @@ -5534,6 +5555,12 @@ $_def_glob /* LIRC (remote control, see www.lirc.org) support: */ $_def_lirc +/* + * LIRCCD (LIRC client daemon) + * See http://www.dolda2000.cjb.net/~fredrik/lirccd/ + */ +$_def_lircc + /* DeCSS support using libcss */ $_def_css |