Differences From
Artifact [7d03825276]:
157 157 AC_DEFINE(KIT_INCLUDES_MK4TCL, [1], [Specify this if you link against mkt4tcl])
158 158 DC_DO_STATIC_LINK_LIBCXX
159 159 fi
160 160 if test "${proj}" = "tk"; then
161 161 DC_DO_TK
162 162 AC_DEFINE(KIT_INCLUDES_TK, [1], [Specify this if we link statically to Tk])
163 163
164 - if test "$host_os" = "mingw32msvc"; then
164 + if test "$host_os" = "mingw32msvc" -o "$host_os" = "mingw32"; then
165 165 AC_DEFINE(KITSH_NEED_WINMAIN, [1], [Define if you need WinMain (Windows)])
166 166 CFLAGS="${CFLAGS} -mwindows"
167 167 fi
168 168 fi
169 169 fi
170 170 done
171 171
................................................................................
175 175 AC_DEFUN(DC_SETUP_TCL_PLAT_DEFS, [
176 176 AC_CANONICAL_HOST
177 177
178 178 AC_MSG_CHECKING(host operating system)
179 179 AC_MSG_RESULT($host_os)
180 180
181 181 case $host_os in
182 - mingw32msvc*)
182 + mingw32*)
183 183 CFLAGS="${CFLAGS} -mno-cygwin -mms-bitfields"
184 184
185 185 dnl If we are building for Win32, we need to define "BUILD_tcl" so that
186 186 dnl TCL_STORAGE_CLASS gets defined as DLLEXPORT, to make static linking
187 187 dnl work
188 188 AC_DEFINE(BUILD_tcl, [1], [Define if you need to pretend to be building Tcl (Windows)])
189 189 AC_DEFINE(BUILD_tk, [1], [Define if you need to pretend to be building Tk (Windows)])