summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1997-10-23 16:39:03 +0000
committerEzra Peisach <epeisach@mit.edu>1997-10-23 16:39:03 +0000
commitadffb80719b4feb5a7add907b4a37b34617cb5ae (patch)
tree483887417d5cb0899be3c89a94813b123ec55067 /src
parent65dda04e75456be38841a68f1f8b4e2cd9a29524 (diff)
downloadkrb5-adffb80719b4feb5a7add907b4a37b34617cb5ae.tar.gz
krb5-adffb80719b4feb5a7add907b4a37b34617cb5ae.tar.xz
krb5-adffb80719b4feb5a7add907b4a37b34617cb5ae.zip
* aclocal.m4 (TCL_WITH): Check for libtcl8.0
The test release of dejagnu now comes with it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10246 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/aclocal.m414
2 files changed, 15 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9bad30bfa..90addf2b0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+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
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 525ce9157..da2219f25 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -923,9 +923,17 @@ if test "$TCL_WITH" != no ; then
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"