From 3ebd29271aee0665b759a7ba48fb3a343282fd0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20Ni=C3=9Fl?= Date: Tue, 1 Jan 2008 10:35:07 +0100 Subject: 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'. --- m4/input.m4 | 7 +++++++ m4/summary.m4 | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'm4') 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" -- cgit v1.2.3