diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-03-28 07:36:44 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-03-28 07:36:44 (GMT) |
commit | d77bfdc1dafb4e97dd31f2c29d9b79d533fa760e (patch) | |
tree | 209d2a079e30e4becaca7dbdbdc4f8575328eb14 /win/configure | |
parent | 1c8a93576cdb686a79fcfbd86e889961befbb4f9 (diff) | |
download | tk-d77bfdc1dafb4e97dd31f2c29d9b79d533fa760e.zip tk-d77bfdc1dafb4e97dd31f2c29d9b79d533fa760e.tar.gz tk-d77bfdc1dafb4e97dd31f2c29d9b79d533fa760e.tar.bz2 |
Easier solution, with proper protection and configure warnings.
FossilOrigin-Name: 6af7f84015d02f01830fd5626a2078a5cb7d5ffe
Diffstat (limited to 'win/configure')
-rwxr-xr-x | win/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/configure b/win/configure index 9e6acbd..33030b9 100755 --- a/win/configure +++ b/win/configure @@ -3302,6 +3302,12 @@ 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}" != "${TK_MINOR_VERSION}"; then + { echo "$as_me:$LINENO: WARNING: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}. +Building Tk ${TK_VERSION} this way results in a binary which is no longer loadable in Tcl ${TK_VERSION}" >&5 +echo "$as_me: WARNING: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}. +Building Tk ${TK_VERSION} this way results in a binary which is no longer loadable in Tcl ${TK_VERSION}" >&2;} +fi #-------------------------------------------------------------------- # The statements below define a collection of compile flags. This |