[vlc-devel] commit: dvdread headers can be in libdvdread now... (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Jun 28 06:55:56 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at altair.videolan.org> | Sat Jun 28 06:57:29 2008 +0200| [e6ea3dd15af9d9f73d019f93f549a12c2dfa616e]

dvdread headers can be in libdvdread now...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6ea3dd15af9d9f73d019f93f549a12c2dfa616e
---

 configure.ac |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8295e82..f079a08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2045,11 +2045,16 @@ then
         [ VLC_ADD_PLUGIN([dvdread])
           VLC_ADD_LIBS([dvdread],[-ldvdread ${LIBS_dvdcss}])
         ],[
-          if test -n "${enable_dvdread}"
-          then
-            AC_MSG_ERROR([cannot find libdvdread headers])
-          fi
-        ])
+	  AC_CHECK_HEADERS(libdvdread/dvd_reader.h,
+            [ VLC_ADD_PLUGIN([dvdread])
+	      VLC_ADD_LIBS([dvdread],[-ldvdread ${LIBS_dvdcss}])
+	    ],[
+	      if test -n "${enable_dvdread}"
+	      then
+	      AC_MSG_ERROR([cannot find libdvdread headers])
+	     fi
+	   ])
+	])
     else
       AC_MSG_CHECKING(for libdvdread.a in ${with_dvdread_tree})
       real_dvdread_tree="`cd ${with_dvdread_tree} 2>/dev/null && pwd`"




More information about the vlc-devel mailing list