aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-12-15 11:07:49 +1000
committerSteve Bennett <steveb@workware.net.au>2011-12-16 13:10:13 +1000
commit6a4f419af4dad8baa40ebb9a88977fe83d2b0d5e (patch)
treee38a3b90834bc44df600196525acbf1144f1292f /auto.def
parentb6ca9c7ed71cb4b612dee89b5569cbf599bfc386 (diff)
downloadjimtcl-6a4f419af4dad8baa40ebb9a88977fe83d2b0d5e.zip
jimtcl-6a4f419af4dad8baa40ebb9a88977fe83d2b0d5e.tar.gz
jimtcl-6a4f419af4dad8baa40ebb9a88977fe83d2b0d5e.tar.bz2
cygwin also wants shared libraries named .dll
And other minor changes for windows platforms
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def8
1 files changed, 6 insertions, 2 deletions
diff --git a/auto.def b/auto.def
index 006ebea..55850e6 100644
--- a/auto.def
+++ b/auto.def
@@ -103,17 +103,21 @@ switch -glob -- $host_os {
define TCL_PLATFORM_OS $host_os
define TCL_PLATFORM_PLATFORM windows
define TCL_PLATFORM_PATH_SEPARATOR {;}
- define LIBSOEXT dll
}
default {
# Note that cygwin is considered a unix platform
define TCL_PLATFORM_OS $host_os
define TCL_PLATFORM_PLATFORM unix
define TCL_PLATFORM_PATH_SEPARATOR :
- define LIBSOEXT so
}
}
+if {[have-feature windows]} {
+ define LIBSOEXT dll
+} else {
+ define LIBSOEXT so
+}
+
# Find some tools
cc-check-tools ar ranlib strip
define tclsh [info nameofexecutable]