From: panne Date: Tue, 1 Jul 2003 12:25:49 +0000 (+0000) Subject: [project @ 2003-07-01 12:25:49 by panne] X-Git-Tag: Approx_11550_changesets_converted~715 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=e82f4943bcf9e40188a75ad21d939a1a794c8a16 [project @ 2003-07-01 12:25:49 by panne] Mention unix package only for non-WinDoze builds. --- diff --git a/ghc/configure.in b/ghc/configure.in index fd56092..7a4f062 100644 --- a/ghc/configure.in +++ b/ghc/configure.in @@ -20,6 +20,26 @@ dnl These are needed by the .spec file. 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="" + ;; +*) + unixHTMLStart="" + unixHTMLEnd="" + ;; +esac + +AC_SUBST(unixHTMLStart) +AC_SUBST(unixHTMLEnd) + dnl Uncomment links to ObjectIO docs if necessary AC_ARG_ENABLE(objectio, [ --enable-objectio diff --git a/ghc/docs/libraries.html.in b/ghc/docs/libraries.html.in index 2f757c3..5d38c7c 100644 --- a/ghc/docs/libraries.html.in +++ b/ghc/docs/libraries.html.in @@ -39,11 +39,13 @@
a library for interactively reading input from the console.
+@unixHTMLStart@
unix
- supplies POSIX functionality (not all platforms). + supplies POSIX functionality.
+@unixHTMLEnd@ @HOpenGLHTMLStart@
OpenGL @@ -83,11 +85,15 @@
Hugs 98
- Hugs provides almost all of the modules in the base package, - all the modules in the - haskell98, network and haskell-src packages, - and some of those in the unix package. - These modules are always available, as a single hierarchy; + Hugs provides almost all of the modules in the + base package and all the + modules in the haskell98, + network and + haskell-src packages. +@unixHTMLStart@ + Some of the modules in the unix package are supported, too. +@unixHTMLEnd@ + All those modules are always available, as a single hierarchy; Hugs does not use the package subdivision.