Fix parsing of multiple --(enable|disable)-plugin options (#350)
Due to missing $ variables $ENABLED_PLUGINS and $DISABLED_PLUGINS were not evaluated.
This commit is contained in:
parent
0f57191bea
commit
69b886ef1e
4
configure
vendored
4
configure
vendored
|
@ -103,8 +103,8 @@ EOF
|
||||||
while true; do
|
while true; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--prefix ) PREFIX="$2"; shift; shift ;;
|
--prefix ) PREFIX="$2"; shift; shift ;;
|
||||||
--enable-plugin ) if [ -z "$ENABLED_PLUGINS" ]; then ENABLED_PLUGINS="$2"; else ENABLED_PLUGINS="ENABLED_PLUGINS;$2"; fi; shift; shift ;;
|
--enable-plugin ) if [ -z "$ENABLED_PLUGINS" ]; then ENABLED_PLUGINS="$2"; else ENABLED_PLUGINS="$ENABLED_PLUGINS;$2"; fi; shift; shift ;;
|
||||||
--disable-plugin ) if [ -z "$DISABLED_PLUGINS" ]; then DISABLED_PLUGINS="$2"; else DISABLED_PLUGINS="DISABLED_PLUGINS;$2"; fi; shift; shift ;;
|
--disable-plugin ) if [ -z "$DISABLED_PLUGINS" ]; then DISABLED_PLUGINS="$2"; else DISABLED_PLUGINS="$DISABLED_PLUGINS;$2"; fi; shift; shift ;;
|
||||||
--valac ) VALA_EXECUTABLE="$2"; shift; shift ;;
|
--valac ) VALA_EXECUTABLE="$2"; shift; shift ;;
|
||||||
--valac-flags ) VALAC_FLAGS="$2"; shift; shift ;;
|
--valac-flags ) VALAC_FLAGS="$2"; shift; shift ;;
|
||||||
--lib-suffix ) LIB_SUFFIX="$2"; shift; shift ;;
|
--lib-suffix ) LIB_SUFFIX="$2"; shift; shift ;;
|
||||||
|
|
Loading…
Reference in a new issue