Commit 8a8523d0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Some less-good-than-debian distributions don't ship liblircclient0.pc

Revert previous simplification.
parent 83b4e836
...@@ -4567,7 +4567,17 @@ PKG_ENABLE_MODULES_VLC([MTP], [], [libmtp >= 0.3.0],[MTP devices support],[auto] ...@@ -4567,7 +4567,17 @@ PKG_ENABLE_MODULES_VLC([MTP], [], [libmtp >= 0.3.0],[MTP devices support],[auto]
dnl dnl
dnl Lirc plugin dnl Lirc plugin
dnl 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:]) AC_ARG_WITH(,[Misc options:])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment