Differences From
Artifact [ef0e476ed6]:
89 89
90 90 AC_MSG_CHECKING(host operating system)
91 91 AC_MSG_RESULT($host_os)
92 92
93 93 case $host_os in
94 94 mingw32msvc*)
95 95 CFLAGS="${CFLAGS} -mno-cygwin -mms-bitfields"
96 +
97 + dnl If we are building for Win32, we need to define "BUILD_tcl" so that
98 + dnl TCL_STORAGE_CLASS gets defined as DLLEXPORT, to make static linking
99 + dnl work
96 100 AC_DEFINE(BUILD_tcl, [1], [Define if you need to pretend to be building Tcl (Windows)])
97 101 ;;
98 102 cygwin*)
99 103 CFLAGS="${CFLAGS} -mms-bitfields"
100 104 ;;
101 105 esac
102 106 ])