mirror of https://github.com/mpv-player/mpv
Do not check for the existence of LIRC devices during autodetection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20359 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d8875d803c
commit
35783a93d0
|
@ -7368,14 +7368,12 @@ echores "$_joystick"
|
||||||
echocheck "lirc"
|
echocheck "lirc"
|
||||||
if test "$_lirc" = auto ; then
|
if test "$_lirc" = auto ; then
|
||||||
_lirc=no
|
_lirc=no
|
||||||
if test -c /dev/lirc -o -c /dev/lirc/0 ; then
|
|
||||||
cat > $TMPC <<EOF
|
cat > $TMPC <<EOF
|
||||||
#include <lirc/lirc_client.h>
|
#include <lirc/lirc_client.h>
|
||||||
int main(void) { return 0; }
|
int main(void) { return 0; }
|
||||||
EOF
|
EOF
|
||||||
cc_check -llirc_client && _lirc=yes
|
cc_check -llirc_client && _lirc=yes
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
if test "$_lirc" = yes ; then
|
if test "$_lirc" = yes ; then
|
||||||
_def_lirc='#define HAVE_LIRC 1'
|
_def_lirc='#define HAVE_LIRC 1'
|
||||||
_ld_lirc='-llirc_client'
|
_ld_lirc='-llirc_client'
|
||||||
|
|
Loading…
Reference in New Issue