From 394dfe5764021766d78aad9e363bcf1fcea9c3b2 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 18 Jan 2006 00:40:07 +0000 Subject: [PATCH] * aclocal.m4 (AC_KRB5_TCL_TRYOLD): Include $LIBS in $TCL_LIBS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17591 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 4 ++++ src/aclocal.m4 | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index e67294546..a3e3fdb72 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-01-17 Ken Raeburn + + * aclocal.m4 (AC_KRB5_TCL_TRYOLD): Include $LIBS in $TCL_LIBS. + 2006-01-06 Tom Yu * krb5-config.in: Cause libs output to match actual required diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 1803f34b2..46a70e69a 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1036,23 +1036,23 @@ if test "$with_tcl" != no ; then if test $tcl_lib = no; then AC_CHECK_LIB(tcl8.0, Tcl_CreateCommand, - TCL_LIBS="$TCL_LIBS -ltcl8.0 -lm $DL_LIB" + TCL_LIBS="$TCL_LIBS -ltcl8.0 -lm $DL_LIB $LIBS" 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_LIBS="$TCL_LIBS -ltcl7.6 -lm $DL_LIB $LIBS" 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" + TCL_LIBS="$TCL_LIBS -ltcl7.5 -lm $DL_LIB $LIBS" tcl_lib=yes,,-lm $DL_LIB) fi if test $tcl_lib = no ; then AC_CHECK_LIB(tcl, Tcl_CreateCommand, - TCL_LIBS="$TCL_LIBS -ltcl -lm $DL_LIB" + TCL_LIBS="$TCL_LIBS -ltcl -lm $DL_LIB $LIBS" tcl_lib=yes,,-lm $DL_LIB) fi -- 2.26.2