summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-01 02:32:40 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-01 02:32:40 +0000
commit9d07c2e4cb4e13dbb5f570ee68eccfd7a4b38fa4 (patch)
treea71933fa37b85adf560ef4ab578c167354e33052 /configure
parent41d658fb35cd6addebd096d612fe894d2b82d658 (diff)
downloadmpv-9d07c2e4cb4e13dbb5f570ee68eccfd7a4b38fa4.tar.bz2
mpv-9d07c2e4cb4e13dbb5f570ee68eccfd7a4b38fa4.tar.xz
patch by Adam Di Carlo <adam@onshore-devel.com>:
1 more xanim path improved lirc autodetection git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3238 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 9 insertions, 3 deletions
diff --git a/configure b/configure
index b781fb83d2..d37a3c9032 100755
--- a/configure
+++ b/configure
@@ -2115,7 +2115,7 @@ if test "$_xanim" = auto ; then
if test "$_dl" = yes ; then
if x86 ; then
if test -z "$_xanimlibdir" ; then
- for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods ; do
+ for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim ; do
if test -d "$I" ; then
_xanimlibdir="$I"
break;
@@ -2125,7 +2125,7 @@ if test "$_xanim" = auto ; then
test "$_xanimlibdir" && _xanim=yes
echores "yes (found: $_xanimlibdir)"
else
- echores "not supported on non x86"
+ echores "not supported on non-x86"
fi
else
echores "dl support needed"
@@ -2289,7 +2289,13 @@ echores "$_mencoder"
echocheck "lirc"
if test "$_lirc" = auto ; then
_lirc=no
- test -c /dev/lirc && _lirc=yes
+ if test -c /dev/lirc ; then
+ cat > $TMPC <<EOF
+#include <lirc/lirc_client.h>
+int main(void) { return 0; }
+EOF
+ cc_check -llirc_client && _lirc=yes
+ fi
fi
if test "$_lirc" = yes ; then
_def_lirc='#define HAVE_LIRC 1'