# HG changeset patch # User chainsaw # Date 1131844340 28800 # Node ID 8238f6aa0f096bbf2243a051cf06a25c1f304fc7 # Parent 23726a5a74bc95c84d76e1418324c213ffbad717 [svn] Integrate LIRC plugin into build system. diff -r 23726a5a74bc -r 8238f6aa0f09 configure.ac --- a/configure.ac Sat Nov 12 17:11:46 2005 -0800 +++ b/configure.ac Sat Nov 12 17:12:20 2005 -0800 @@ -310,6 +310,23 @@ fi dnl $enable_mp3 = yes +dnl *** LIRC client libraries + +AC_ARG_ENABLE(lirc, + [ --disable-lirc disable LIRC plugin (default=enabled)], + [enable_lirc=$enableval], + [enable_lirc="yes"] +) + +if test "$enable_lirc" = "yes"; then + AC_CHECK_LIB([lirc_client],[lirc_init],[have_lirc=yes],[have_lirc=no]) +else + AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) + have_lirc="no" +fi +AM_CONDITIONAL([LIRC], test x$have_lirc = xyes) + + dnl *** Ogg Vorbis AC_ARG_ENABLE(vorbis, @@ -670,6 +687,7 @@ Plugins/Visualization/libvisual-proxy/Makefile Plugins/General/Makefile Plugins/General/song_change/Makefile + Plugins/General/lirc/Makefile po/Makefile.in intl/Makefile icons/Makefile @@ -724,6 +742,7 @@ echo " General" echo " -------" echo " Song Change: yes" +echo " LIRC: $have_lirc" echo "" echo " Visualization" echo " -------------"