[Scummvm-cvs-logs] scummvm master -> 61a1b49a2d8e1ef2cb78b6f23632227c069d4341

digitall digitall at scummvm.org
Sat Nov 26 13:17:27 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
61a1b49a2d CONFIGURE: Accept plural as well as singular forms for engine build options.


Commit: 61a1b49a2d8e1ef2cb78b6f23632227c069d4341
    https://github.com/scummvm/scummvm/commit/61a1b49a2d8e1ef2cb78b6f23632227c069d4341
Author: D G Turner (digitall at scummvm.org)
Date: 2011-11-26T04:15:05-08:00

Commit Message:
CONFIGURE: Accept plural as well as singular forms for engine build options.

i.e. --enable-engines=* will be accepted as well as --enable-engine=

Changed paths:
    configure



diff --git a/configure b/configure
index accc883..4fc24b1 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






More information about the Scummvm-git-logs mailing list