summaryrefslogtreecommitdiff
path: root/projects/generate
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-20 18:34:21 +0000
committerrubidium <rubidium@openttd.org>2007-07-20 18:34:21 +0000
commit7aa6d30922bf2aa253e5fe11c2e92cef7ac3e91d (patch)
tree7d0d7c68701122eaff1c573b798e3aaaa1ae5d8e /projects/generate
parentb9b59ec1697613b953201c037522f0dc1a2c2003 (diff)
downloadopenttd-7aa6d30922bf2aa253e5fe11c2e92cef7ac3e91d.tar.xz
(svn r10642) -Merge (from NoAI): ./configure flag for disabling threading.
Diffstat (limited to 'projects/generate')
-rwxr-xr-xprojects/generate2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/generate b/projects/generate
index dc43f6be0..bc3b61395 100755
--- a/projects/generate
+++ b/projects/generate
@@ -36,6 +36,7 @@ os="MSVC"
enable_dedicated="0"
with_cocoa="0"
enable_directmusic="1"
+with_threads="1"
file_prefix="..\\\\src\\\\"
safety_check() {
@@ -84,6 +85,7 @@ load_main_data() {
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" ) { next; }
+ if ($0 == "NO_THREADS" && "'$with_threads'" == "0") { next; }
skip += 1;