Commit 45887fc0 authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac.in: fixed typo. For dvdread support we have to check for
 dvdread/dvd_reader.h, not dvdread/dvdread.h.
parent ade615bf
...@@ -962,7 +962,7 @@ then ...@@ -962,7 +962,7 @@ then
then then
if test "x${with_dvdread_tree}" = x if test "x${with_dvdread_tree}" = x
then then
AC_CHECK_HEADERS(dvdread/dvdread.h, AC_CHECK_HEADERS(dvdread/dvd_reader.h,
[ PLUGINS="${PLUGINS} dvdread" [ PLUGINS="${PLUGINS} dvdread"
LDFLAGS_dvdread="${LDFLAGS_dvdread} -ldvdread" ], LDFLAGS_dvdread="${LDFLAGS_dvdread} -ldvdread" ],
[ if test "x${enable_dvdread}" != "x" [ if test "x${enable_dvdread}" != "x"
...@@ -994,9 +994,9 @@ then ...@@ -994,9 +994,9 @@ then
fi fi
else else
AC_MSG_CHECKING(for dvdread headers in ${with_dvdread}) AC_MSG_CHECKING(for dvdread headers in ${with_dvdread})
if test -f ${with_dvdread}/include/dvdread/dvdread.h if test -f ${with_dvdread}/include/dvdread/dvd_reader.h
then then
dnl Use ${with_dvdread}/include/dvdread/dvdread.h dnl Use ${with_dvdread}/include/dvdread/dvd_reader.h
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
PLUGINS="${PLUGINS} dvdread" PLUGINS="${PLUGINS} dvdread"
LDFLAGS_dvdread="${LDFLAGS_dvdread} -L${with_dvdread}/lib -ldvdread" LDFLAGS_dvdread="${LDFLAGS_dvdread} -L${with_dvdread}/lib -ldvdread"
...@@ -1004,7 +1004,7 @@ then ...@@ -1004,7 +1004,7 @@ then
else else
dnl No libdvdread could be found, sorry dnl No libdvdread could be found, sorry
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_MSG_ERROR([cannot find ${with_dvdread}/include/dvdread/dvdread.h]) AC_MSG_ERROR([cannot find ${with_dvdread}/include/dvdread/dvd_reader.h])
fi fi
fi fi
fi fi
......
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