summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-01-21 14:14:27 +0000
committertruelight <truelight@openttd.org>2007-01-21 14:14:27 +0000
commit3a8024597dac3e7c4b00d1d069103a4c2a0ee0cd (patch)
tree224ce7e56342b84c5d036a12ac6b6795779a566c /configure
parenta21e290995b46daa8ae865feadf58c046b6a12ef (diff)
downloadopenttd-3a8024597dac3e7c4b00d1d069103a4c2a0ee0cd.tar.xz
(svn r8304) [WinCE] -Add: added configure detection for WinCE.
Compiling doesn't work, neither does running, but it is a first step in developing an official WinCE port
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 8949cf544..43f7347c9 100755
--- a/configure
+++ b/configure
@@ -38,7 +38,7 @@ check_params
make_cflags_and_ldflags
EXE=""
-if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ]; then
+if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ] || [ "$os" = "WINCE" ]; then
EXE=".exe"
fi
@@ -78,6 +78,7 @@ SRCS="`< $ROOT_DIR/source.list tr '\r' '\n' | awk '
if ($0 == "BEOS" && "'$os'" != "BEOS") { next; }
if ($0 == "WIN32" && "'$os'" != "MINGW" &&
"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
+ if ($0 == "WINCE" && "'$os'" != "WINCE") { next; }
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0") { next; }