diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-11-21 11:43:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-11-21 11:43:00 (GMT) |
commit | 91582a5e3b0cc2931ad1232c59719d602d95bfc8 (patch) | |
tree | 70d1850189b0f95419ba273ce43bca5cc8b2bd4f /win/configure.in | |
parent | 2254dff19ede852c343b6cc357a840917e55b112 (diff) | |
download | tcl-91582a5e3b0cc2931ad1232c59719d602d95bfc8.zip tcl-91582a5e3b0cc2931ad1232c59719d602d95bfc8.tar.gz tcl-91582a5e3b0cc2931ad1232c59719d602d95bfc8.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.in | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/win/configure.in b/win/configure.in index 8b181f8..cde3ab4 100644 --- a/win/configure.in +++ b/win/configure.in @@ -248,6 +248,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) @@ -336,7 +349,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; |