I got it running with mingw32.
I made the following patch to the "aclocal.m4" file:

677a678,682
> 		case $host_os in
> 			mingw32|mingw32msvc*|msvc|cygwin*)
> 				TCLTLS_SSL_LIBS="${TCLTLS_SSL_LIBS} -lws2_32"
> 				;;
> 		esac