aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-07 08:43:33 +0000
committerOmar Polo <op@omarpolo.com>2021-07-07 08:43:33 +0000
commit489e1655a0be43f6cca08030e558a03824627c9e (patch)
treefb64d50d3dd0ac9ea98153df51d1352672c7fe45 /configure
parent1a572d422159b247922d8b22c58e7b60c35d6fc6 (diff)
add --enable-sandbox
patch from Anna "CyberTailor" It's handy for helpers like ebuild's use_enable. (the sandbox is still always enabled by default)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 81f3c3b..6453fa8 100755
--- a/configure
+++ b/configure
@@ -119,6 +119,11 @@ for keyvals in "$@"; do
continue
fi
+ if [ "$keyvals" = "--enable-sandbox" ]; then
+ DISABLE_SANDBOX=0
+ continue
+ fi
+
key=`echo $keyvals | cut -s -d '=' -f1`
if [ -z "$key" ]; then
echo "$0: invalid key-value: $keyvals" 1>&2