[MPlayer-dev-eng] [PATCH] don't fail with stripped libdvdcss sources

Reinhard Tartler siretart at tauware.de
Thu Oct 14 10:34:41 CEST 2010


Hi,

in some scenarios it might make sense to redistribute a copy of the
mplayer sources that does not contain the internal libdvdcss copy. This
has worked for me since years, but requres the configure parameter
--disable-libdvdcss-internal. The proposed patch simplifies this
invocation by checking if the libdvdcss directory actually exists when
the user did not specify anything (== auto mode).

ok to apply?

Index: configure
===================================================================
--- configure	(revision 32487)
+++ configure	(working copy)
@@ -5892,7 +5892,7 @@
 echocheck "internal libdvdcss"
 if test "$_libdvdcss_internal" = auto ; then
   _libdvdcss_internal=no
-  test "$_dvdread_internal" = yes && _libdvdcss_internal=yes
+  test "$_dvdread_internal" = yes && test -d libdvdcss && _libdvdcss_internal=yes
   hpux && test "$_hpux_scsi_h" = no && _libdvdcss_internal=no
 fi
 if test "$_libdvdcss_internal" = yes ; then


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


More information about the MPlayer-dev-eng mailing list