summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-15 23:01:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-15 23:01:37 (GMT)
commit0e6d3cae9c929071afbef4c2fdca75d4ea7631b3 (patch)
tree5785229997086e25304a8d3196130df37657a54f /unix/configure.in
parent0101865f6215347bc61daa8970fbf08bebf97c1b (diff)
downloadtk-novem_support_85.zip
tk-novem_support_85.tar.gz
tk-novem_support_85.tar.bz2
more minor tweaks, getting it to run with Tcl 9.0 when compiled against 8.5 or 8.6 headersnovem_support_85
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in
index d052675..c615494 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -39,11 +39,13 @@ SC_LOAD_TCLCONFIG
SC_PROG_TCLSH
SC_BUILD_TCLSH
-if test "${TCL_VERSION}" != "${TK_VERSION}"; then
+if test "${TCL_MAJOR_VERSION}" == "${TK_MAJOR_VERSION}"; then
+if test "${TCL_MINOR_VERSION}" -lt "${TK_MINOR_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
+fi
#------------------------------------------------------------------------
# Handle the --prefix=... option