Artifact
def50f1ae786e91aa507ecb54db79fb6dafeaf65:
Attachment "749088.patch" to
ticket [749088ff]
added by
dgp
2003-07-17 03:38:10.
Index: unix/configure.in
===================================================================
RCS file: /cvsroot/tktoolkit/tk/unix/configure.in,v
retrieving revision 1.83.2.2
diff -u -r1.83.2.2 configure.in
--- unix/configure.in 15 Jul 2003 22:46:35 -0000 1.83.2.2
+++ unix/configure.in 16 Jul 2003 20:36:13 -0000
@@ -92,6 +92,12 @@
SC_PATH_TCLCONFIG
SC_LOAD_TCLCONFIG
+if test "${TCL_VERSION}" != "${TK_VERSION}"; then
+ AC_MSG_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}.])
+fi
+
#--------------------------------------------------------------------
# Recompute the necessary flags to run the compiler
#--------------------------------------------------------------------