From ecc54675dddb56825215ce0c11358f81fc72f660 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Sat, 22 Mar 2008 00:16:22 +0000 Subject: "If one would give me six lines written by the hand of the most honest man, I would find something in them to have him hanged." - Banishes libdvdcss, removing DVD decryption from HandBrake's binaries. - For decrypttion, the MacGui and Mac CLI now will load at runtime VLC's dynamic library of dvdcss if the media player's available on the user's system. - Linux users can build with a statically linked lib of dvdcss by using ./configure --libdvdcss, which will download it from a remote third party (videolan.org). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1354 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- configure | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index b6486268f..7c02be72e 100755 --- a/configure +++ b/configure @@ -98,13 +98,21 @@ MAKE=make fi # If the user included the --snapshot argument, mark it down. -if [[ $1 = "--snapshot" ]] +if [[ $1 = "--snapshot" ]] || [[ $2 = "--snapshot" ]] then SNAPSHOT=1 else SNAPSHOT=0 fi +# We fought the law and the law won +if [[ $1 = "--libdvdcss" ]] || [[ $2 = "--libdvdcss" ]] +then + CSS=1 +else + CSS=0 +fi + # Generating the HB_BUILD and HB_VERSION for snapshots requires # the build date, working path, and current SVN revision. BUILD_DATE=$(date +%Y%m%d) @@ -127,6 +135,7 @@ SNAPSHOT = $SNAPSHOT ; BUILD_DATE = $BUILD_DATE ; FULL_PATH = $FULL_PATH ; SVN_REV = $SVN_REV ; +CSS = $CSS ; EOF echo -- cgit v1.2.3