diff options
author | dgp <dgp@users.sourceforge.net> | 2017-10-30 15:54:16 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-10-30 15:54:16 (GMT) |
commit | 489a660ce900537a0e85686980a8aff85446cb44 (patch) | |
tree | 0c6fc8fa22632558dfd268ae3082d23813d44f07 /unix/configure.ac | |
parent | 04dec367103a7da660fd1757bc3e38e43b82e854 (diff) | |
download | tk-489a660ce900537a0e85686980a8aff85446cb44.zip tk-489a660ce900537a0e85686980a8aff85446cb44.tar.gz tk-489a660ce900537a0e85686980a8aff85446cb44.tar.bz2 |
Permit building on a Tcl 9 foundation.
Diffstat (limited to 'unix/configure.ac')
-rw-r--r-- | unix/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/configure.ac b/unix/configure.ac index acbfff9..733f53e 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -36,6 +36,7 @@ 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}" -lt 9 ; then 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}]) @@ -44,6 +45,7 @@ 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 +fi SC_PROG_TCLSH SC_BUILD_TCLSH |