]> git.sesse.net Git - vlc/commitdiff
Second attempt to fix compilation of dvdread (I don't really like this but it might...
authorRémi Duraffort <ivoire@videolan.org>
Wed, 18 Aug 2010 20:13:09 +0000 (22:13 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Wed, 18 Aug 2010 20:13:09 +0000 (22:13 +0200)
configure.ac

index 22155b4c15bcb5f9983dfea027a0687836835753..fde9da5fe2c94634a06a96a63cd7c0e4764bc177 100644 (file)
@@ -1849,12 +1849,9 @@ PKG_ENABLE_MODULES_VLC([DV], [access_dv], [libraw1394 >= 2.0.1 libavc1394 >= 0.5
 dnl
 dnl dvdread module: check for libdvdread
 dnl
+dnl prepend -ldvdcss on OS that need it
+AS_CASE(["${SYS}"], [mingw32|darwin|beos], [VLC_ADD_LIBS([dvdread], [-ldvdcss])])
 PKG_ENABLE_MODULES_VLC([DVDREAD], [], [dvdread], [dvdread input module], [auto])
-if test "${enable_dvdread}" != "no"
-then
-  dnl prepend -ldvdcss on OS that need it
-  AS_CASE(["${SYS}"], [mingw32|darwin|beos], [VLC_ADD_LIBS([dvdread], [-ldvdcss])])
-fi
 
 dnl
 dnl libdvdnav plugin