summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2013-03-27 11:54:48 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2013-03-27 11:54:48 (GMT)
commit0ccf5b8ea3693952416bd5b5111667f7ecb5b135 (patch)
treebf19ce263808d6875f337129402f3865e7770181 /win/configure
parent73af56d20fc23ca3829bb71692ba0701ea3d9f43 (diff)
downloadtk-0ccf5b8ea3693952416bd5b5111667f7ecb5b135.zip
tk-0ccf5b8ea3693952416bd5b5111667f7ecb5b135.tar.gz
tk-0ccf5b8ea3693952416bd5b5111667f7ecb5b135.tar.bz2
Same change as [9bc120ced2] for UNIX, but for Windows as well.
FossilOrigin-Name: 059263b2cae8bf365558fcd882c2b2be2f3827dc
Diffstat (limited to 'win/configure')
-rwxr-xr-xwin/configure19
1 files changed, 19 insertions, 0 deletions
diff --git a/win/configure b/win/configure
index bd3acf4..9e6acbd 100755
--- a/win/configure
+++ b/win/configure
@@ -3284,6 +3284,25 @@ echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
+if test "${TCL_MAJOR_VERSION}" != "${TK_MAJOR_VERSION}"; then
+ { { echo "$as_me:$LINENO: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
+Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
+Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." >&5
+echo "$as_me: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
+Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
+Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test "${TCL_MINOR_VERSION}" -lt "${TK_MINOR_VERSION}"; then
+ { { echo "$as_me:$LINENO: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
+Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
+Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." >&5
+echo "$as_me: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
+Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
+Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
#--------------------------------------------------------------------
# The statements below define a collection of compile flags. This
# macro depends on the value of SHARED_BUILD, and should be called