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)
This commit is contained in:
Omar Polo 2021-07-07 08:43:33 +00:00
parent 1a572d4221
commit 489e1655a0
1 changed files with 5 additions and 0 deletions

5
configure vendored
View File

@ -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