1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

configure: check if libdvdcss has been removed from tree

In some scenarios it might make sense to redistribute a copy of the
mplayer sources that does not contain the internal libdvdcss copy. In
order to not require the configure parameter
--disable-libdvdcss-internal, this change checks that the libdvdcss
directory actually exists when no particular behavior has been
requested.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32493 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
siretart 2010-10-15 10:45:19 +00:00 committed by Uoti Urpala
parent aa1ac341fc
commit 1f97094c8d

2
configure vendored
View File

@ -5581,7 +5581,7 @@ echores "$_dvdread"
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