* aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Use 'eval' when setting TCL_LIBS to
authorKen Raeburn <raeburn@mit.edu>
Thu, 31 Oct 2002 21:44:04 +0000 (21:44 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 31 Oct 2002 21:44:04 +0000 (21:44 +0000)
force variable substitutions to take place.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14952 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index c54d36841a4c80cf540ba453c391a8f44b82d382..26ff4d6dbe4b78095524af4498efc17f9e74caed 100644 (file)
@@ -1,3 +1,8 @@
+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
index 0317f73e0b4ba53760d7b06521246655425e26a8..fe1e41bfb13b3ed4bfbef4c8ed2cd7dc35e4fd3a 100644 (file)
@@ -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"