diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-17 12:59:26 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-17 12:59:26 (GMT) |
commit | 9ecc267c8a9c1d5c38ffa51e9453c9fb1fe45037 (patch) | |
tree | c87ba1ed0c63e905e54d5baf50a6d356a270b31a | |
parent | 2a758e696b8aaebf2b8aa532c6b9f0d005612fe4 (diff) | |
parent | 9eebb0a2671c0158eeae94a9daec982cd6bdda1e (diff) | |
download | tcl-9ecc267c8a9c1d5c38ffa51e9453c9fb1fe45037.zip tcl-9ecc267c8a9c1d5c38ffa51e9453c9fb1fe45037.tar.gz tcl-9ecc267c8a9c1d5c38ffa51e9453c9fb1fe45037.tar.bz2 |
[Bug 3544932]: Visual studio compiler check fails
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | library/dde/pkgIndex.tcl | 4 | ||||
-rw-r--r-- | win/makefile.vc | 7 |
3 files changed, 10 insertions, 7 deletions
@@ -1,3 +1,7 @@ +2012-07-17 Jan Nijtmans <nijtmans@users.sf.net> + + * win/makefile.vc: [Bug 3544932]: Visual studio compiler check fails + 2012-07-16 Donal K. Fellows <dkf@users.sf.net> * generic/tclUtil.c (UpdateStringOfEndOffset): [Bug 3544658]: Stop @@ -7,7 +11,7 @@ 2012-07-16 Jan Nijtmans <nijtmans@users.sf.net> * library/reg/pkgIndex.tcl: Make registry 1.3 package dynamically - loadable in Tcl 8.4.20. + loadable when ::tcl::pkgconfig is available. 2012-07-11 Jan Nijtmans <nijtmans@users.sf.net> diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl index fc5b973..ce8276b 100644 --- a/library/dde/pkgIndex.tcl +++ b/library/dde/pkgIndex.tcl @@ -1,5 +1,5 @@ -if {![package vsatisfies [package provide Tcl] 8.5]} return -if {[info sharedlibextension] ne ".dll"} return +if {([info commands ::tcl::pkgconfig] eq "") + || ([info sharedlibextension] ne ".dll")} return if {[::tcl::pkgconfig get debug]} { package ifneeded dde 1.4.0b1 [list load [file join $dir tcldde14g.dll] dde] } else { diff --git a/win/makefile.vc b/win/makefile.vc index 96ae7f6..bcae7f8 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -13,10 +13,9 @@ # Copyright (c) 2003-2008 Pat Thoyts. #------------------------------------------------------------------------------ -# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR) -# or with the MS Platform SDK (MSSDK). Visual Studio .NET 2003 and 2005 define -# VCINSTALLDIR instead. -!if !defined(MSDEVDIR) && !defined(MSVCDIR) && !defined(MSSDK) && !defined(VCINSTALLDIR) +# Check to see we are configured to build with MSVC (MSDEVDIR, MSVCDIR or +# VCINSTALLDIR) or with the MS Platform SDK (MSSDK or WindowsSDKDir) +!if !defined(MSDEVDIR) && !defined(MSVCDIR) && !defined(VCINSTALLDIR) && !defined(MSSDK) && !defined(WindowsSDKDir) MSG = ^ You need to run vcvars32.bat from Developer Studio or setenv.bat from the^ Platform SDK first to setup the environment. Jump to this line to read^ |