Diff

Differences From Artifact [274d569e46]:

To Artifact [e980cfaf2c]:


   122    122   AC_DEFUN(DC_FIND_TCLKIT_LIBS, [
   123    123   	DC_SETUP_TCL_PLAT_DEFS
   124    124   
   125    125   	for proj in mk4tcl tcl tclvfs tk; do
   126    126   		AC_MSG_CHECKING([for libraries required for ${proj}])
   127    127   
   128    128   		libdir="../../../${proj}/inst"
   129         -		libfiles="`find "${libdir}" -name '*.a' | grep -v 'stub' | tr "\n" ' '`"
          129  +		libfiles="`find "${libdir}" -name '*.a' | tr "\n" ' '`"
          130  +		libfilesnostub="`find "${libdir}" -name '*.a' | grep -v 'stub' | tr "\n" ' '`"
   130    131   
   131    132   		ARCHS="${ARCHS} ${libfiles}"
   132    133   
   133    134   		AC_MSG_RESULT([${libfiles}])
   134    135   
   135         -		if test "${libfiles}" != ""; then
          136  +		if test "${libfilesnostub}" != ""; then
   136    137   			if test "${proj}" = "mk4tcl"; then
   137    138   				AC_DEFINE(KIT_INCLUDES_MK4TCL, [1], [Specify this if you link against mkt4tcl])
   138    139   				DC_DO_STATIC_LINK_LIBCXX
   139    140   			fi
   140    141   			if test "${proj}" = "tk"; then
   141    142   				DC_DO_TK
   142    143   				AC_DEFINE(KIT_INCLUDES_TK, [1], [Specify this if we link statically to Tk])