Commit e6ea3dd1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

dvdread headers can be in libdvdread now...

parent d8f0bf5a
...@@ -2045,11 +2045,16 @@ then ...@@ -2045,11 +2045,16 @@ then
[ VLC_ADD_PLUGIN([dvdread]) [ VLC_ADD_PLUGIN([dvdread])
VLC_ADD_LIBS([dvdread],[-ldvdread ${LIBS_dvdcss}]) VLC_ADD_LIBS([dvdread],[-ldvdread ${LIBS_dvdcss}])
],[ ],[
if test -n "${enable_dvdread}" AC_CHECK_HEADERS(libdvdread/dvd_reader.h,
then [ VLC_ADD_PLUGIN([dvdread])
AC_MSG_ERROR([cannot find libdvdread headers]) VLC_ADD_LIBS([dvdread],[-ldvdread ${LIBS_dvdcss}])
fi ],[
]) if test -n "${enable_dvdread}"
then
AC_MSG_ERROR([cannot find libdvdread headers])
fi
])
])
else else
AC_MSG_CHECKING(for libdvdread.a in ${with_dvdread_tree}) AC_MSG_CHECKING(for libdvdread.a in ${with_dvdread_tree})
real_dvdread_tree="`cd ${with_dvdread_tree} 2>/dev/null && pwd`" real_dvdread_tree="`cd ${with_dvdread_tree} 2>/dev/null && pwd`"
......
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