From 1f97094c8d5015722f132f46d463c11be9d378a3 Mon Sep 17 00:00:00 2001 From: siretart Date: Fri, 15 Oct 2010 10:45:19 +0000 Subject: 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 25dd1286eb..ae75cbbcab 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3