[vlc-commits] workaround the fact that VLC_ADD_LIBS appends arguments to the start of LIBS_plugin
Rafaël Carré
git at videolan.org
Fri Nov 25 02:09:48 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 24 20:08:41 2011 -0500| [078e321d5c1b3f29ca5558b0573ca117fbedcbea] | committer: Rafaël Carré
workaround the fact that VLC_ADD_LIBS appends arguments to the start of LIBS_plugin
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=078e321d5c1b3f29ca5558b0573ca117fbedcbea
---
configure.ac | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index aa01449..aa5cc39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1808,6 +1808,15 @@ if test "$SYS" = "linux" -a "${enable_linsys}" != "no"; then
)
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 dvdread module: check for libdvdread
dnl
@@ -1834,15 +1843,6 @@ 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