force variable substitutions to take place.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14952
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-10-31 Ken Raeburn <raeburn@mit.edu>
+
+ * 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 <raeburn@mit.edu>
* aclocal.m4 (AC_KRB5_TCL): If --with-tcl is given, failure to
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"