summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index c240afb..3923619 100755
--- a/configure
+++ b/configure
@@ -187,6 +187,9 @@ if test -z "$f_platform"; then
UNIX_SV:4.2*)
f_platform=unixware-g++
;;
+ Cygwin:*)
+ f_platform=win32-g++
+ ;;
*)
echo
echo "Your platform was not recognised by this configure script"
@@ -409,6 +412,12 @@ EOF
fi
fi
+if test "$f_platform" = "win32-g++"; then
+ cat >> .tmakeconfig <<EOF
+ TMAKE_LFLAGS += -D_WIN32
+EOF
+fi
+
if test "$f_english" = YES; then
cat >> .tmakeconfig <<EOF
TMAKE_CXXFLAGS += -DENGLISH_ONLY