# HG changeset patch # User pl # Date 1007173960 0 # Node ID 61e1520db8cb412e17314a770c180d9417e314e0 # Parent 1774d0530a6d4a542c7f68988208d90e9bb4282f patch by Adam Di Carlo : 1 more xanim path improved lirc autodetection diff -r 1774d0530a6d -r 61e1520db8cb configure --- a/configure Sat Dec 01 01:29:25 2001 +0000 +++ b/configure Sat Dec 01 02:32:40 2001 +0000 @@ -2115,7 +2115,7 @@ 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 @@ 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 @@ echocheck "lirc" if test "$_lirc" = auto ; then _lirc=no - test -c /dev/lirc && _lirc=yes + if test -c /dev/lirc ; then + cat > $TMPC < +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'