summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2008-01-01 10:35:07 +0100
committerReinhard Nißl <rnissl@gmx.de>2008-01-01 10:35:07 +0100
commit3ebd29271aee0665b759a7ba48fb3a343282fd0b (patch)
treeb604fcc5742db494fcb83aba3c0bda383cfdb48d /m4
parent60ce6073c01f97d55eece7ccba75c5d917aed163 (diff)
downloadxine-lib-3ebd29271aee0665b759a7ba48fb3a343282fd0b.tar.gz
xine-lib-3ebd29271aee0665b759a7ba48fb3a343282fd0b.tar.bz2
Implement --enable-vdr for configure.
Previously, the vdr plugins were only built when DVB was enabled, but I think it would be nice to allow to build them even on non Linux OS'.
Diffstat (limited to 'm4')
-rw-r--r--m4/input.m47
-rw-r--r--m4/summary.m43
2 files changed, 9 insertions, 1 deletions
diff --git a/m4/input.m4 b/m4/input.m4
index 1446eaf09..1e2f72113 100644
--- a/m4/input.m4
+++ b/m4/input.m4
@@ -139,4 +139,11 @@ AC_DEFUN([XINE_INPUT_PLUGINS], [
AC_SUBST(LIBVCD_LIBS)
AM_CONDITIONAL([ENABLE_VCD], [test x"$enable_vcd" != x"no"])
AM_CONDITIONAL([ENABLE_VCDO], [test x"$enable_vcdo" != x"no"])
+
+
+ dnl vdr
+ AC_ARG_ENABLE([vdr],
+ [AS_HELP_STRING([--enable-vdr], [Enable support for the VDR plugin (default: enabled)])],
+ [test x"$enableval" != x"no" && enable_vdr="yes"])
+ AM_CONDITIONAL([ENABLE_VDR], [test x"$enable_vdr" != x"no"])
])
diff --git a/m4/summary.m4 b/m4/summary.m4
index 996374424..a96e11e5a 100644
--- a/m4/summary.m4
+++ b/m4/summary.m4
@@ -24,7 +24,8 @@ AC_DEFUN([XINE_LIB_SUMMARY], [
else
echo " - dvd (internal libs)"
fi
- test x"$have_dvb" = x"yes" && echo " - dvb - vdr"
+ test x"$enable_vdr" != x"no" && echo " - vdr"
+ test x"$have_dvb" = x"yes" && echo " - dvb"
test x"$have_gnomevfs" = x"yes" && echo " - gnome-vfs"
test x"$have_samba" = x"yes" && echo " - smb"
test x"$have_v4l" = x"yes" && echo " - v4l"