summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-09-13 19:14:05 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-09-13 19:14:05 (GMT)
commit970db01541fa840ec5e11fa8178a154ee94d5d9f (patch)
treebed13a89fd88482c1c9511c5b2827d714863bfd3 /unix/configure.in
parenta3797a6afe41e049f65e052b16c78f651be1f093 (diff)
parent0e809f8dd3305b97598597b825333fc85204a6ef (diff)
downloadtk-970db01541fa840ec5e11fa8178a154ee94d5d9f.zip
tk-970db01541fa840ec5e11fa8178a154ee94d5d9f.tar.gz
tk-970db01541fa840ec5e11fa8178a154ee94d5d9f.tar.bz2
merge trunk
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 6860fd9..a7f9fc6 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -36,6 +36,15 @@ LOCALES="cs da de el en en_gb eo es fr hu it nl pl pt ru sv"
SC_PATH_TCLCONFIG
SC_LOAD_TCLCONFIG
+if test "${TCL_MAJOR_VERSION}" -ne 8 ; then
+ AC_MSG_ERROR([${PACKAGE_NAME} ${PACKAGE_VERSION} requires Tcl 8.6+
+Found config for Tcl ${TCL_VERSION}])
+fi
+if test "${TCL_MINOR_VERSION}" -lt 6 ; then
+ AC_MSG_ERROR([${PACKAGE_NAME} ${PACKAGE_VERSION} requires Tcl 8.6+
+Found config for Tcl ${TCL_VERSION}])
+fi
+
SC_PROG_TCLSH
SC_BUILD_TCLSH