* aclocal.m4 (AC_KRB5_TCL_TRYOLD): Include $LIBS in $TCL_LIBS
authorKen Raeburn <raeburn@mit.edu>
Wed, 18 Jan 2006 00:40:07 +0000 (00:40 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 18 Jan 2006 00:40:07 +0000 (00:40 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17591 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index e672945463e279998a9fa1d871c77ec61fb2a4c0..a3e3fdb72ea7edc6b367972a55f6a17d522e9334 100644 (file)
@@ -1,3 +1,7 @@
+2006-01-17  Ken Raeburn  <raeburn@mit.edu>
+
+       * aclocal.m4 (AC_KRB5_TCL_TRYOLD): Include $LIBS in $TCL_LIBS.
+
 2006-01-06  Tom Yu  <tlyu@mit.edu>
 
        * krb5-config.in: Cause libs output to match actual required
index 1803f34b2c5e518dd2c9547baa8024981897d54f..46a70e69adfa8794a42bba03f0160c0bbce4afc6 100644 (file)
@@ -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