--- xine-ui-0.99.6.orig/m4/_xine.m4 2009-12-19 00:14:27.000000000 +0100 +++ xine-ui-0.99.6/m4/_xine.m4 2010-04-01 16:26:08.970694666 +0200 @@ -28,10 +28,9 @@ [ --disable-lirc Turn off LIRC support.], [], enable_lirc=yes) - found_lirc=no if test x"$enable_lirc" = xyes; then have_lirc=yes - PKG_CHECK_MODULES(LIRC, liblircclient0, [found_lirc=yes], []) + PKG_CHECK_MODULES(LIRC, liblircclient0, [found_lirc=yes], [found_lirc=no]) if test "$LIRC_CFLAGS" != ''; then LIRC_INCLUDE="$LIRC_CFLAGS" else @@ -54,7 +53,7 @@ fi fi fi - if test "$found_lirc" = yes; then + if test "$found_lirc" = "yes"; then AC_DEFINE([HAVE_LIRC],,[Define this if you have LIRC (liblirc_client) installed]) fi AC_SUBST(LIRC_LIBS)