Commit 2ab8c9fa authored by Jean-Baptiste Kempf's avatar 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.
parent ee24a037
......@@ -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*], [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment