[vlc-devel] commit: Some less-good-than-debian distributions don't ship liblircclient0. pc (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Aug 9 23:04:48 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 9 23:00:25 2009 +0200| [8a8523d0786b29f7cd0d6c3db755d28eb1143fdc] | committer: Jean-Baptiste Kempf
Some less-good-than-debian distributions don't ship liblircclient0.pc
Revert previous simplification.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a8523d0786b29f7cd0d6c3db755d28eb1143fdc
---
configure.ac | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1db7bc4..fda8da1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4567,7 +4567,17 @@ PKG_ENABLE_MODULES_VLC([MTP], [], [libmtp >= 0.3.0],[MTP devices support],[auto]
dnl
dnl Lirc plugin
dnl
-PKG_ENABLE_MODULES_VLC([lirc], [], [liblircclient0], [lirc support], [auto])
+AC_ARG_ENABLE(lirc,
+ [ --enable-lirc lirc support (default disabled)])
+if test "${enable_lirc}" = "yes"
+then
+ AC_CHECK_HEADER(lirc/lirc_client.h, AC_CHECK_LIB(lirc_client, lirc_init, have_lirc="true", have_lirc="false"),have_lirc="false")
+ if test "${have_lirc}" = "true"
+ then
+ VLC_ADD_PLUGIN([lirc])
+ VLC_ADD_LIBS([lirc],[-llirc_client])
+ fi
+fi
AC_ARG_WITH(,[Misc options:])
More information about the vlc-devel
mailing list