summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/input.m47
-rw-r--r--m4/summary.m43
-rw-r--r--src/vdr/Makefile.am2
3 files changed, 10 insertions, 2 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"
diff --git a/src/vdr/Makefile.am b/src/vdr/Makefile.am
index cfbd86be0..fe5ae3a52 100644
--- a/src/vdr/Makefile.am
+++ b/src/vdr/Makefile.am
@@ -3,7 +3,7 @@ include $(top_srcdir)/misc/Makefile.common
AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
AM_LDFLAGS = $(xineplug_ldflags)
-if ENABLE_DVB
+if ENABLE_VDR
xineplug_LTLIBRARIES = xineplug_vdr.la
endif