- add crawlDirectory helper function
[enigma2.git] / configure.ac
index b429a17ea94f1b75cf755085d0bc5025176ab701..43485871475a176fedd2de727eeb34071135e96b 100644 (file)
@@ -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 ***]))
@@ -116,7 +124,6 @@ lib/python/Plugins/Extensions/MediaScanner/Makefile
 lib/python/Plugins/Extensions/MediaPlayer/Makefile
 lib/python/Plugins/Extensions/DVDPlayer/Makefile
 lib/python/Plugins/Extensions/DVDPlayer/src/Makefile
-lib/python/Plugins/Extensions/DVDPlayer/data/Makefile
 lib/python/Plugins/Extensions/PicturePlayer/Makefile
 lib/python/Plugins/Extensions/PicturePlayer/data/Makefile
 lib/python/Plugins/Extensions/GraphMultiEPG/Makefile