configure.in patch - and success building vlc today
Steven M. Schultz
sms at 2BSD.COM
Wed Apr 3 23:49:55 CEST 2002
Hi!
It works!
Below is what I needed to change in the top level configure.in
file. The first part is a portability fix for BSD/OS - the "-ldvd"
library is where the necessary ioctl calls are kept.
The other changes should be obvious: the "-ldvd" really needs to
be "-ldvdcss" and the "x)" needs to be "xyes)" in order to catch
"--with-dvdcss" with no argument.
With these changes (and the one I mentioned earlier for cdrom_tools.c)
'vlc' is able to play "Dr. Strangelove".
I did notice that using the SDL audio works better than the default
OSS output.
Steven Schultz
sms at 2bsd.com
========================cut here========================
--- configure.in.dist Wed Apr 3 10:04:27 2002
+++ configure.in Wed Apr 3 13:34:26 2002
@@ -58,6 +58,8 @@
;;
xbsdi*)
SYS=bsdi
+ LIB_DVD="$LIB_DVD -ldvd"
+ LIB_VCD="$LIB_VCD -ldvd"
;;
xdarwin*)
SYS=darwin
@@ -559,7 +561,7 @@
AC_ARG_WITH(dvdcss-tree,
[ --with-dvdcss-tree=PATH libdvdcss tree for static linking])
case "x$with_dvdcss" in
- x)
+ xyes)
if test "x$with_dvdcss_tree" = x
then
AC_CHECK_HEADERS(dvdcss/dvdcss.h,
@@ -603,7 +605,7 @@
dnl Use ${with_dvdcss}/include/dvdcss/dvdcss.h
AC_MSG_RESULT(yes)
PLUGINS="${PLUGINS} dvd"
- LIB_DVD="${LIB_DVD} -L${with_dvdcss}/lib -ldvd"
+ LIB_DVD="${LIB_DVD} -L${with_dvdcss}/lib -ldvdcss"
CFLAGS_DVD="${CFLAGS_DVD} -I${with_dvdcss}/include"
else
dnl No libdvdcss could be found, sorry
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list