[vlc-commits] commit: Second attempt to fix compilation of dvdread (I don' t really like this but it might work). ( Rémi Duraffort )

git at videolan.org git at videolan.org
Wed Aug 18 22:13:34 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Aug 18 22:13:09 2010 +0200| [b243cb886645b5d812d122a130e2ac0064db7975] | committer: Rémi Duraffort 

Second attempt to fix compilation of dvdread (I don't really like this but it might work).

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

 configure.ac |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 22155b4..fde9da5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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



More information about the vlc-commits mailing list