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
#--------------------------------------------------------------------
|