* configure.ac.in: fixed typo. For dvdread support we have to check for
authorGildas Bazin <gbazin@videolan.org>
Fri, 6 Dec 2002 21:27:36 +0000 (21:27 +0000)
committerGildas Bazin <gbazin@videolan.org>
Fri, 6 Dec 2002 21:27:36 +0000 (21:27 +0000)
 dvdread/dvd_reader.h, not dvdread/dvdread.h.

configure.ac.in

index 789bdad..a0ba37b 100644 (file)
@@ -962,7 +962,7 @@ then
   then
     if test "x${with_dvdread_tree}" = x
     then
-      AC_CHECK_HEADERS(dvdread/dvdread.h,
+      AC_CHECK_HEADERS(dvdread/dvd_reader.h,
         [ PLUGINS="${PLUGINS} dvdread"
           LDFLAGS_dvdread="${LDFLAGS_dvdread} -ldvdread" ],
         [ if test "x${enable_dvdread}" != "x"
@@ -994,9 +994,9 @@ then
     fi
   else
     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
-      dnl  Use ${with_dvdread}/include/dvdread/dvdread.h
+      dnl  Use ${with_dvdread}/include/dvdread/dvd_reader.h
       AC_MSG_RESULT(yes)
       PLUGINS="${PLUGINS} dvdread"
       LDFLAGS_dvdread="${LDFLAGS_dvdread} -L${with_dvdread}/lib -ldvdread"
@@ -1004,7 +1004,7 @@ then
     else
       dnl  No libdvdread could be found, sorry
       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