+Thu Oct 23 12:08:24 1997 Ezra Peisach <epeisach@mit.edu>
+
+ * aclocal.m4 (TCL_WITH): Check for libtcl8.0.
+
Wed Oct 22 15:03:26 1997 Ezra Peisach <epeisach@mit.edu>
* aclocal.m4 (AC_KRB5_TCL): Rewritten for clearer
if test $tcl_header = yes ; then
tcl_lib=no
- AC_CHECK_LIB(tcl7.6, Tcl_CreateCommand,
- TCL_LIBS="$TCL_LIBS -ltcl7.6 -lm $DL_LIB"
- tcl_lib=yes,,-lm $DL_LIB)
+
+ if test $tcl_lib = no; then
+ AC_CHECK_LIB(tcl8.0, Tcl_CreateCommand,
+ TCL_LIBS="$TCL_LIBS -ltcl8.0 -lm $DL_LIB"
+ tcl_lib=yes,,-lm $DL_LIB)
+ fi
+ if test $tcl_lib = no; then
+ AC_CHECK_LIB(tcl7.6, Tcl_CreateCommand,
+ TCL_LIBS="$TCL_LIBS -ltcl7.6 -lm $DL_LIB"
+ tcl_lib=yes,,-lm $DL_LIB)
+ fi
if test $tcl_lib = no; then
AC_CHECK_LIB(tcl7.5, Tcl_CreateCommand,
TCL_LIBS="$TCL_LIBS -ltcl7.5 -lm $DL_LIB"