Diff

Differences From Artifact [d545ae6633]:

To Artifact [da08c3d389]:


    24     24   dnl Find extra objects we need to link as a part of "kit"
    25     25   AC_SUBST(EXTRA_OBJS)
    26     26   
    27     27   dnl Check for Windows Resource Compiler
    28     28   AC_CHECK_TOOL([RC], [windres], [false])
    29     29   
    30     30   dnl If we found the resource compiler, add "kit.res.o" to our list of objects to build
           31  +dnl (as long as the source for such an object exists)
    31     32   if ! test "$RC" = "false"; then
    32         -	EXTRA_OBJS="$EXTRA_OBJS kit.res.o"
           33  +	if test -f kit.rc; then
           34  +		EXTRA_OBJS="$EXTRA_OBJS kit.res.o"
           35  +	fi
    33     36   fi
    34     37   
    35     38   dnl Check for Tcl features
    36     39   SAVE_LIBS="${LIBS}"
    37     40   LIBS="${ARCHS} ${LIBS}"
    38     41   dnl Determine if we have "Tcl_SetStartupScript" (8.6.x) or "TclSetStartupScriptPath" (8.4.x)
    39     42   AC_CHECK_FUNCS(Tcl_SetStartupScript TclSetStartupScriptPath)