aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorD G Turner2013-11-07 12:58:33 +0100
committerD G Turner2013-11-24 00:45:38 +0000
commitaa947c9474ad83aa9315bc585d1f0b79060fee61 (patch)
tree933775377eea4243d9cd8d0fc7c4a2a7098cb840 /configure
parentc63b2b2b2c33aa0a1e883cf5c722d647f2cf0c6f (diff)
downloadscummvm-rg350-aa947c9474ad83aa9315bc585d1f0b79060fee61.tar.gz
scummvm-rg350-aa947c9474ad83aa9315bc585d1f0b79060fee61.tar.bz2
scummvm-rg350-aa947c9474ad83aa9315bc585d1f0b79060fee61.zip
BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically. They are placed into a folder in engines/ which must contain a file named "configure.engine" to add the engine, which is pulled into the top level configure script automatically.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index cb0b8902fc..4825cdc498 100755
--- a/configure
+++ b/configure
@@ -97,7 +97,9 @@ add_feature() {
_srcdir=`dirname $0`
# Read list of engines
-. $_srcdir/engines/configure.engines
+for i in $_srcdir/engines/*/configure.engine; do
+ . "$i"
+done
#
# Default settings