[libdvdnav-devel] We need to check for dvdcss/dvdcss.h
Jean-Baptiste Kempf
git at videolan.org
Thu Jan 2 16:44:11 CET 2014
libdvdread | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 2 16:43:04 2014 +0100| [2ab8c9fa65e293668103985398adb809cd88a5d9] | committer: Jean-Baptiste Kempf
We need to check for dvdcss/dvdcss.h
Else, we will not get the HAVE_DVDCSS_DVDCSS_H define and the code will
not work when statically compiled.
It might be clever to remove that in the future, but one would need to
fix the code for that.
> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=2ab8c9fa65e293668103985398adb809cd88a5d9
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 09fb264..7052f52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,7 @@ AC_ARG_ENABLE([dlfcn],
AS_IF([test x"$with_libdvdcss" = "xyes"], [
CSS_REQUIRES="libdvdcss >= 1.2"
PKG_CHECK_MODULES([CSS], [$CSS_REQUIRES])
+ AC_CHECK_HEADERS(dvdcss/dvdcss.h,, AC_MSG_ERROR(You need libdvdcss (dvdcss.h)))
], [
AS_CASE([$host],
[*mingw32*], [],
More information about the libdvdnav-devel
mailing list