From: Ken Raeburn Date: Thu, 31 Oct 2002 21:44:04 +0000 (+0000) Subject: * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Use 'eval' when setting TCL_LIBS to X-Git-Tag: krb5-1.3-alpha1~301 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7aec9fa1458d27423ac381e674392694504fa33b;p=krb5.git * 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 --- 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"