esac
fi
+# The ser-tcp.c module requires sockets.
+case ${host} in
+ *mingw32*)
+
+cat >>confdefs.h <<\_ACEOF
+#define USE_WIN32API 1
+_ACEOF
+
+ WIN32LIBS="$WIN32LIBS -lws2_32"
+ ;;
+esac
+
LIBGUI="../libgui/src/libgui.a"
GUI_CFLAGS_X="-I${srcdir}/../libgui/src"