Mercurial > audlegacy
changeset 157:8238f6aa0f09 trunk
[svn] Integrate LIRC plugin into build system.
author | chainsaw |
---|---|
date | Sat, 12 Nov 2005 17:12:20 -0800 |
parents | 23726a5a74bc |
children | 7a81b92a6281 |
files | configure.ac |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 " -------------"