aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorD G Turner2011-11-26 12:15:05 +0000
committerD G Turner2011-11-26 12:15:05 +0000
commit61a1b49a2d8e1ef2cb78b6f23632227c069d4341 (patch)
treed264e976089e633fa65cd25be2bd40426185f0a6 /configure
parentb10c473214192eb6266bd11b1c6e682bb1c16de1 (diff)
downloadscummvm-rg350-61a1b49a2d8e1ef2cb78b6f23632227c069d4341.tar.gz
scummvm-rg350-61a1b49a2d8e1ef2cb78b6f23632227c069d4341.tar.bz2
scummvm-rg350-61a1b49a2d8e1ef2cb78b6f23632227c069d4341.zip
CONFIGURE: Accept plural as well as singular forms for engine build options.
i.e. --enable-engines=* will be accepted as well as --enable-engine=
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index accc883677..4fc24b1d7c 100755
--- a/configure
+++ b/configure
@@ -1066,22 +1066,22 @@ for ac_option in $@; do
--disable-all-engines)
engine_disable_all
;;
- --enable-engine=*)
+ --enable-engine=* | --enable-engines=*)
for engine_name in `echo $ac_option | cut -d '=' -f 2- | tr ',' '\n'`; do
engine_enable "${engine_name}"
done
;;
- --enable-engine-static=*)
+ --enable-engine-static=* | --enable-engines-static=*)
for engine_name in `echo $ac_option | cut -d '=' -f 2- | tr ',' '\n'`; do
engine_enable "${engine_name}:static"
done
;;
- --enable-engine-dynamic=*)
+ --enable-engine-dynamic=* | --enable-engines-dynamic=*)
for engine_name in `echo $ac_option | cut -d '=' -f 2- | tr ',' '\n'`; do
engine_enable "${engine_name}:dynamic"
done
;;
- --disable-engine=*)
+ --disable-engine=* | --disable-engines=*)
for engine_name in `echo $ac_option | cut -d '=' -f 2 | tr ',' '\n'`; do
engine_disable ${engine_name}
done