summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
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