# HG changeset patch # User diego # Date 1163096742 0 # Node ID e5f38c16da31ca99534dd742e1645e9bf0dec9de # Parent cfd35d61bed3616f864f3b059862c91e9246be72 Allow disabling internal libdvdcss. diff -r cfd35d61bed3 -r e5f38c16da31 configure --- a/configure Thu Nov 09 18:05:06 2006 +0000 +++ b/configure Thu Nov 09 18:25:42 2006 +0000 @@ -241,6 +241,7 @@ --disable-dvdnav disable libdvdnav [autodetect] --disable-dvdread disable libdvdread [autodetect] --disable-dvdread-internal disable internal libdvdread [autodetect] + --disable-libdvdcss-internal disable internal libdvdcss [autodetect] --disable-cdparanoia disable cdparanoia [autodetect] --disable-bitmap-font disable bitmap font support [enable] --disable-freetype disable FreeType 2 font rendering [autodetect] @@ -1626,6 +1627,7 @@ _dvdnavconfig=dvdnav-config _dvdread=auto _dvdread_internal=auto +_libdvdcss_internal=auto _xanim=auto _real=auto _live=auto @@ -1860,6 +1862,8 @@ --disable-dvdread) _dvdread=no ;; --enable-dvdread-internal) _dvdread_internal=yes ;; --disable-dvdread-internal) _dvdread_internal=no ;; + --enable-libdvdcss-internal) _libdvdcss_internal=yes ;; + --disable-libdvdcss-internal) _libdvdcss_internal=no ;; --enable-dvdnav) _dvdnav=yes ;; --disable-dvdnav) _dvdnav=no ;; --enable-xanim) _xanim=yes ;; @@ -5197,6 +5201,19 @@ echores "$_dvdread" +echocheck "internal libdvdcss" +if test "$_libdvdcss_internal" = auto ; then + _libdvdcss_internal=no + test "$_dvdread_internal" = yes && _libdvdcss_internal=yes +fi +if test "$_libdvdcss_internal" = yes ; then + _inputmodules="libdvdcss $_inputmodules" +else + _noinputmodules="libdvdcss $_noinputmodules" +fi +echores "$_libdvdcss_internal" + + echocheck "cdparanoia" if test "$_cdparanoia" = auto ; then cat > $TMPC <