Diff

Differences From Artifact [f213e421dc]:

To Artifact [68bb20ca2d]:


    71     71   
    72     72   dnl Check for Windows Resource Compiler
    73     73   AC_CHECK_TOOL([RC], [windres], [false])
    74     74   
    75     75   dnl If we found the resource compiler, add "kit.res.o" to our list of objects to build
    76     76   dnl (as long as the source for such an object exists)
    77     77   AS_IF([test "$RC" != "false"], [
    78         -	AS_IF([test -f kit.rc], [
    79         -		EXTRA_OBJS="$EXTRA_OBJS kit.res.o"
           78  +	AS_IF([test "$host_os" = "mingw32msvc" -o "$host_os" = "mingw32"], [
           79  +		AS_IF([test -f kit.rc], [
           80  +			EXTRA_OBJS="$EXTRA_OBJS kit.res.o"
           81  +		])
    80     82   	])
    81     83   ])
    82     84   
    83     85   dnl Check for Tcl features
    84     86   SAVE_LIBS="${LIBS}"
    85     87   LIBS="${ARCHS} ${LIBS}"
    86     88