diff options
author | dgp <dgp@users.sourceforge.net> | 2013-03-22 15:58:37 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-03-22 15:58:37 (GMT) |
commit | 17122f4259e29006d21bc11f24d436c11607b526 (patch) | |
tree | 69590f0adcdefc905674b176ceac2001f9924231 /unix/configure | |
parent | 80f69c509189e9b43a365f5cdcbc7d3721775466 (diff) | |
parent | 45bc4b8ed5e03bb50fa2d084bc505d27fadd5db7 (diff) | |
download | tk-17122f4259e29006d21bc11f24d436c11607b526.zip tk-17122f4259e29006d21bc11f24d436c11607b526.tar.gz tk-17122f4259e29006d21bc11f24d436c11607b526.tar.bz2 |
merge 8.5
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/unix/configure b/unix/configure index ed0693c..de43530 100755 --- a/unix/configure +++ b/unix/configure @@ -1585,7 +1585,16 @@ echo "${ECHO_T}$BUILD_TCLSH" >&6 -if test "${TCL_VERSION}" != "${TK_VERSION}"; then +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 |