* aclocal.m4 (TCL_WITH): Check for libtcl8.0
authorEzra Peisach <epeisach@mit.edu>
Thu, 23 Oct 1997 16:39:03 +0000 (16:39 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 23 Oct 1997 16:39:03 +0000 (16:39 +0000)
The test release of dejagnu now comes with it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10246 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 9bad30bfa8441ddf68e7f1a8b55c0f02e0d4ba51..90addf2b02d1db21e9240685dac2a563282b1027 100644 (file)
@@ -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
index 525ce915725c0d01b5c65a29ebeba4b2d1cd4b02..da2219f2522a19d86dd9a3fc6fd5913574d24b94 100644 (file)
@@ -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"