[vlc-commits] move dvdcss checks after dvdread and dvdnav
Rafaël Carré
git at videolan.org
Fri Nov 25 01:36:02 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 24 19:35:35 2011 -0500| [fd3f4d2e7072dcf400ac8c7ca6fcf8df41ebd2dd] | committer: Rafaël Carré
move dvdcss checks after dvdread and dvdnav
Else dvdread libs end up being "-ldvdcss .. -ldvdread"
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fd3f4d2e7072dcf400ac8c7ca6fcf8df41ebd2dd
---
configure.ac | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index 477f106..aa01449 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1813,15 +1813,6 @@ dnl dvdread module: check for libdvdread
dnl
PKG_ENABLE_MODULES_VLC([DVDREAD], [], [dvdread], [dvdread input module], [auto])
-dnl libdvdcss
-darwin_libdvdcss_extralibs="-Wl,-framework,CoreFoundation -Wl,-framework,IOKit"
-libdvdcss_extralibs=""
-test "${SYS}" = darwin && libdvdcss_extralibs="${darwin_libdvdcss_extralibs}"
-AC_CHECK_LIB(dvdcss, dvdcss_interface_2, [
- VLC_ADD_LIBS([dvdread], -ldvdcss "${libdvdcss_extralibs}")
- VLC_ADD_LIBS([dvdnav], -ldvdcss "${libdvdcss_extralibs}")
- ],, "${libdvdcss_extralibs}")
-
dnl
dnl libdvdnav plugin
dnl
@@ -1843,6 +1834,15 @@ then
[AC_MSG_WARN([${DVDNAV_PKG_ERRORS}.])])
fi
+dnl libdvdcss
+darwin_libdvdcss_extralibs="-Wl,-framework,CoreFoundation -Wl,-framework,IOKit"
+libdvdcss_extralibs=""
+test "${SYS}" = darwin && libdvdcss_extralibs="${darwin_libdvdcss_extralibs}"
+AC_CHECK_LIB(dvdcss, dvdcss_interface_2, [
+ VLC_ADD_LIBS([dvdread], -ldvdcss "${libdvdcss_extralibs}")
+ VLC_ADD_LIBS([dvdnav], -ldvdcss "${libdvdcss_extralibs}")
+ ],, "${libdvdcss_extralibs}")
+
dnl
dnl Windows DirectShow access module
dnl
More information about the vlc-commits
mailing list