From 0601ae82d8373dede75590ad670e417e29f1cff7 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 15 Apr 2008 14:31:06 +0000 Subject: dont build dvdplugin when dreamdvd lib ist not available --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 50e30aad..43485871 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,14 @@ AC_ARG_WITH(libsdl, [[withsdl=yes]] ) +AC_CHECK_HEADER(dreamdvd/ddvdlib.h,have_ddvdlib="yes",have_ddvdlib="no") +if test x"${have_ddvdlib}" = xyes ; then + AC_DEFINE(HAVE_DDVDLIB, 1,[Define if ddvdlib is available]) +else + AC_MSG_NOTICE([ddvdlib not found... dont build dvd plugin]) +fi +AM_CONDITIONAL(HAVE_DDVDLIB, test "$have_ddvdlib" = "yes") + AM_PATH_PYTHON() AC_PYTHON_DEVEL #AM_PATH_XINE(1.1.0,, AC_MSG_ERROR([*** Please install xine-lib (devel) first ***])) -- cgit v1.2.3