From 7aec9fa1458d27423ac381e674392694504fa33b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 31 Oct 2002 21:44:04 +0000 Subject: [PATCH] * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Use 'eval' when setting TCL_LIBS to force variable substitutions to take place. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14952 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 5 +++++ src/aclocal.m4 | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index c54d36841..26ff4d6db 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-10-31 Ken Raeburn + + * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Use 'eval' when setting + TCL_LIBS to force variable substitutions to take place. + 2002-10-28 Ken Raeburn * aclocal.m4 (AC_KRB5_TCL): If --with-tcl is given, failure to diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 0317f73e0..fe1e41bfb 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -822,7 +822,9 @@ if test -n "$tcl_ok_conf" ; then break fi done - TCL_LIBS="$TCL_LIB_SPEC $TCL_LIBS $TCL_DL_LIBS" + # Need eval because the first-level expansion could reference + # variables like ${TCL_DBGX}. + eval TCL_LIBS='"'$TCL_LIB_SPEC $TCL_LIBS $TCL_DL_LIBS'"' TCL_LIBPATH="-L$TCL_EXEC_PREFIX/lib" TCL_RPATH=":$TCL_EXEC_PREFIX/lib" CPPFLAGS="$old_CPPFLAGS $TCL_INCLUDES" -- 2.26.2