summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-03-22 00:16:22 +0000
committerjbrjake <[email protected]>2008-03-22 00:16:22 +0000
commitecc54675dddb56825215ce0c11358f81fc72f660 (patch)
tree22d60adb6b98b2a388445d1a2436bcea431009d4 /configure
parent9880cbfd5b0db35bff71efa524e11c6c4dcfbe68 (diff)
"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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
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