AC_SUBST(version)
AC_SUBST(patchlevel)
+dnl Uncomment links to unix docs if necessary dnl NOTE: This is a slight
+dnl hack: It needs to be synchronized with fptools/configure.in and
+dnl fptools/libraries/Makefile and should probably use target features
+dnl instead of host.
+AC_CANONICAL_HOST
+
+case $host in
+i[3456]86-*-mingw32*)
+ unixHTMLStart="<!--"
+ unixHTMLEnd="-->"
+ ;;
+*)
+ unixHTMLStart=""
+ unixHTMLEnd=""
+ ;;
+esac
+
+AC_SUBST(unixHTMLStart)
+AC_SUBST(unixHTMLEnd)
+
dnl Uncomment links to ObjectIO docs if necessary
AC_ARG_ENABLE(objectio,
[ --enable-objectio
</DT><DD>
a library for interactively reading input from the console.
</DD>
+@unixHTMLStart@
<DT>
<A HREF="unix/index.html"><TT>unix</TT></a>
</DT><DD>
- supplies POSIX functionality (not all platforms).
+ supplies POSIX functionality.
</DD>
+@unixHTMLEnd@
@HOpenGLHTMLStart@
<DT>
<A HREF="OpenGL/index.html"><TT>OpenGL</TT></a>
<DT><A HREF="http://www.haskell.org/hugs/">Hugs 98</A></DT>
<DD>
- Hugs provides almost all of the modules in the <tt>base</tt> package,
- all the modules in the
- <tt>haskell98</tt>, <tt>network</tt> and <tt>haskell-src</tt> packages,
- and some of those in the <tt>unix</tt> package.
- These modules are always available, as a single hierarchy;
+ Hugs provides almost all of the modules in the
+ <A HREF="base/index.html"><TT>base</TT></a> package and all the
+ modules in the <A HREF="haskell98/index.html"><TT>haskell98</TT></a>,
+ <A HREF="network/index.html"><TT>network</TT></a> and
+ <A HREF="haskell-src/index.html"><TT>haskell-src</TT></a> packages.
+@unixHTMLStart@
+ Some of the modules in the <A HREF="unix/index.html"><TT>unix</TT></a> package are supported, too.
+@unixHTMLEnd@
+ All those modules are always available, as a single hierarchy;
Hugs does not use the package subdivision.
</DD>