From: Ezra Peisach Date: Thu, 23 Oct 1997 16:39:03 +0000 (+0000) Subject: * aclocal.m4 (TCL_WITH): Check for libtcl8.0 X-Git-Tag: krb5-1.1-beta1~979 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=adffb80719b4feb5a7add907b4a37b34617cb5ae;p=krb5.git * 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 --- 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 + + * aclocal.m4 (TCL_WITH): Check for libtcl8.0. + Wed Oct 22 15:03:26 1997 Ezra Peisach * 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"