Commit 7b55e81c authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac: link dvdcss with dvdread on win32/darwin.

parent 40a4073e
...@@ -1221,6 +1221,12 @@ then ...@@ -1221,6 +1221,12 @@ then
[ --with-dvdread=PATH libdvdread headers and libraries]) [ --with-dvdread=PATH libdvdread headers and libraries])
AC_ARG_WITH(dvdread-tree, AC_ARG_WITH(dvdread-tree,
[ --with-dvdread-tree=PATH libdvdread tree for static linking]) [ --with-dvdread-tree=PATH libdvdread tree for static linking])
dnl Temporary hack (yeah, sure ;)
if test "${SYS}" = "mingw32" || test "${SYS}" = "darwin"; then
VLC_ADD_LDFLAGS([dvdread],[-ldvdcss])
fi
if test -z "${with_dvdread}" if test -z "${with_dvdread}"
then then
if test -z "${with_dvdread_tree}" if test -z "${with_dvdread_tree}"
...@@ -1272,12 +1278,6 @@ then ...@@ -1272,12 +1278,6 @@ then
AC_MSG_ERROR([cannot find ${with_dvdread}/include/dvdread/dvd_reader.h]) AC_MSG_ERROR([cannot find ${with_dvdread}/include/dvdread/dvd_reader.h])
fi fi
fi fi
dnl Temporary hack (yeah, sure ;)
if test "${SYS}" = "mingw32" || test "${SYS}" = "darwin"; then
VLC_ADD_LDFLAGS([dvdread],[-ldvdcss])
fi
fi fi
dnl dnl
......
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