Skip to content

Commit

Permalink
CONFIGURE: Accept plural as well as singular forms for engine build o…
Browse files Browse the repository at this point in the history
…ptions.

i.e. --enable-engines=* will be accepted as well as --enable-engine=
(cherry picked from commit 61a1b49)
  • Loading branch information
digitall committed Dec 3, 2011
1 parent 8d82e82 commit 6345f6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure
Expand Up @@ -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
Expand Down

0 comments on commit 6345f6a

Please sign in to comment.