diff options
author | rubidium <rubidium@openttd.org> | 2007-07-20 18:34:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-20 18:34:21 +0000 |
commit | 7aa6d30922bf2aa253e5fe11c2e92cef7ac3e91d (patch) | |
tree | 7d0d7c68701122eaff1c573b798e3aaaa1ae5d8e /projects/generate | |
parent | b9b59ec1697613b953201c037522f0dc1a2c2003 (diff) | |
download | openttd-7aa6d30922bf2aa253e5fe11c2e92cef7ac3e91d.tar.xz |
(svn r10642) -Merge (from NoAI): ./configure flag for disabling threading.
Diffstat (limited to 'projects/generate')
-rwxr-xr-x | projects/generate | 2 |
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; |