summaryrefslogtreecommitdiffstats
path: root/win/configure.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-21 11:52:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-21 11:52:34 (GMT)
commit1a6dce0b4a15ceb1b91d71114f76caaa1b5af28a (patch)
tree50c9e638f56905c3a59e85b0f942b47b5cf74b7c /win/configure.in
parentcb9a7e6abbfcd2e3a2613ffabf1f65518e03c403 (diff)
parent91582a5e3b0cc2931ad1232c59719d602d95bfc8 (diff)
downloadtcl-1a6dce0b4a15ceb1b91d71114f76caaa1b5af28a.zip
tcl-1a6dce0b4a15ceb1b91d71114f76caaa1b5af28a.tar.gz
tcl-1a6dce0b4a15ceb1b91d71114f76caaa1b5af28a.tar.bz2
Add support for Windows 8.1: See [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
Diffstat (limited to 'win/configure.in')
-rw-r--r--win/configure.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/win/configure.in b/win/configure.in
index 4cc1e9f..77e0327 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -350,6 +350,19 @@ else
TCL_PACKAGE_PATH="${prefix}/lib"
fi
+# The tclsh.exe.manifest requires these
+# TCL_WIN_VERSION is the 4 dotted pair Windows version format which needs
+# the release level, and must account for interim release versioning
+case "$TCL_PATCH_LEVEL" in
+ *a*) TCL_RELEASE_LEVEL=0 ;;
+ *b*) TCL_RELEASE_LEVEL=1 ;;
+ *) TCL_RELEASE_LEVEL=2 ;;
+esac
+TCL_WIN_VERSION="$TCL_VERSION.$TCL_RELEASE_LEVEL.`echo $TCL_PATCH_LEVEL | tr -d ab.`"
+AC_SUBST(TCL_WIN_VERSION)
+# X86|AMD64|IA64 for manifest
+AC_SUBST(MACHINE)
+
AC_SUBST(TCL_VERSION)
AC_SUBST(TCL_MAJOR_VERSION)
AC_SUBST(TCL_MINOR_VERSION)
@@ -444,7 +457,7 @@ AC_SUBST(RC_DEFINE)
AC_SUBST(RC_DEFINES)
AC_SUBST(RES)
-AC_OUTPUT(Makefile tclConfig.sh tcl.hpj)
+AC_OUTPUT(Makefile tclConfig.sh tcl.hpj tclsh.exe.manifest)
dnl Local Variables:
dnl mode: autoconf;