Commit 7a463241 authored by Eric Petit's avatar Eric Petit
Browse files

configure.ac: fix dvdnav linking on beos/os x/win32 (hacky)

parent fd598b84
...@@ -1339,6 +1339,11 @@ AC_ARG_ENABLE(dvdnav, ...@@ -1339,6 +1339,11 @@ AC_ARG_ENABLE(dvdnav,
[ --enable-dvdnav dvdnav input module (default enabled)]) [ --enable-dvdnav dvdnav input module (default enabled)])
if test "${enable_dvdnav}" != "no" if test "${enable_dvdnav}" != "no"
then then
dnl Same hack than dvdread
if test "${SYS}" = "mingw32" || test "${SYS}" = "darwin" || test "${SYS}" = "beos" ; then
VLC_ADD_LDFLAGS([dvdnav],[-ldvdcss])
fi
DVDNAV_PATH="${PATH}" DVDNAV_PATH="${PATH}"
AC_ARG_WITH(dvdnav-config-path, AC_ARG_WITH(dvdnav-config-path,
[ --with-dvdnav-config-path=PATH dvdnav-config path (default search in \$PATH)], [ --with-dvdnav-config-path=PATH dvdnav-config path (default search in \$PATH)],
......
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