Tcl package Thread source code

View Ticket
Login
Ticket UUID: 10401858b07066ec27e04ee78a2409e49d60f1ed
Title: Thread package configure fails with Tcl 9
Type: Patch Version:
Submitter: petasis Created on: 2018-02-13 11:14:57
Subsystem: 80. Thread Package Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Important
Status: Closed Last Modified: 2018-02-13 11:30:14
Resolution: Rejected Closed By: jan.nijtmans
    Closed on: 2018-02-13 11:30:14
Description:
Index: configure.ac
==================================================================
--- configure.ac
+++ configure.ac
@@ -34,15 +34,15 @@
 #--------------------------------------------------------------------
 
 TEA_PATH_TCLCONFIG
 TEA_LOAD_TCLCONFIG
 
-if test "${TCL_MAJOR_VERSION}" -ne 8 ; then
+if test "${TCL_MAJOR_VERSION}" -lt 8 ; then
     AC_MSG_ERROR([${PACKAGE_NAME} ${PACKAGE_VERSION} requires Tcl 8.4+
 Found config for Tcl ${TCL_VERSION}])
 fi
-if test "${TCL_MINOR_VERSION}" -lt 4 ; then
+if test "${TCL_MAJOR_VERSION}" -eq 8 && test "${TCL_MINOR_VERSION}" -lt 4 ; then
     AC_MSG_ERROR([${PACKAGE_NAME} ${PACKAGE_VERSION} requires Tcl 8.4+
 Found config for Tcl ${TCL_VERSION}])
 fi
 
 #--------------------------------------------------------------------
User Comments: jan.nijtmans added on 2018-02-13 11:30:14:
This is on purpose. Please have a look at the "novem-support" branch.