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