[[project @ 2002-07-11 11:24:31 by panne] panne**20020711112431 Automagically insert links to the documentation of the OpenGL/GLUT packages iff --enable-hopengl is used ] { addfile ./ghc/docs/index.html.in hunk ./ghc/configure.in 23 +dnl Uncomment links to HOpenGL docs if necessary +AC_ARG_ENABLE(hopengl, +[ --enable-hopengl + Build HOpenGL, a Haskell binding for OpenGL/GLUT, too. + (This option is only relevant when hslibs are built.) +], +[ +HOpenGLHTMLStart="" +HOpenGLHTMLEnd="" +], +[ +HOpenGLHTMLStart="" +] +) + +AC_SUBST(HOpenGLHTMLStart) +AC_SUBST(HOpenGLHTMLEnd) + hunk ./ghc/configure.in 43 -AC_OUTPUT(ghc.spec) +AC_OUTPUT(ghc.spec docs/index.html) hunk ./ghc/docs/index.html 1 - - -
-- Welcome to GHC! -
- -- This is the top of the GHC documentation tree, where you will find - links to all the supplied documentation about GHC and its libraries. -
- -- The User's Guide -
-- The User's Guide has all you need to know about using GHC: - command line options, language extensions, GHCi, etc. -
-- Hierarchical Libraries -
-- GHC comes with a large number of libraries, arranged - hierarchically. The libraries are divided into packages - - to use a package of libraries from GHC or GHCi just add the flag - -package <name> to the command line, where - <name> is the name of the package (see the - section on packages in the User's Guide for more information). The - base and haskell98 packages are always available, - so you don't need to use the -package flag to get these. -
- -- Previous versions of GHC (before version 5.04) came with a suite - of libraries known as hslibs, aka the Hugs-GHC libraries. - As we are in the process of moving towards using hierarchical - libraries for everything, many of these libraries have moved over to - the new packages in the hierarchical libraries above. We still - provide the old hslibs libraries for backwards compatibility - and also for those libraries which have yet to move into the - hierarchy. For libraries which have moved, the documentation - contains a pointer to the location in the new libraries. -
-- Libraries which haven't moved yet, so are still only available from - here, include: the POSIX library, the Win32 library, HaXml, Readline, - and a few others. -
-+ Welcome to GHC! +
+ ++ This is the top of the GHC documentation tree, where you will find + links to all the supplied documentation about GHC and its libraries. +
+ ++ The User's Guide +
++ The User's Guide has all you need to know about using GHC: + command line options, language extensions, GHCi, etc. +
++ Hierarchical Libraries +
++ GHC comes with a large number of libraries, arranged + hierarchically. The libraries are divided into packages - + to use a package of libraries from GHC or GHCi just add the flag + -package <name> to the command line, where + <name> is the name of the package (see the + section on packages in the User's Guide for more information). The + base and haskell98 packages are always available, + so you don't need to use the -package flag to get these. +
+ ++ Previous versions of GHC (before version 5.04) came with a suite + of libraries known as hslibs, aka the Hugs-GHC libraries. + As we are in the process of moving towards using hierarchical + libraries for everything, many of these libraries have moved over to + the new packages in the hierarchical libraries above. We still + provide the old hslibs libraries for backwards compatibility + and also for those libraries which have yet to move into the + hierarchy. For libraries which have moved, the documentation + contains a pointer to the location in the new libraries. +
++ Libraries which haven't moved yet, so are still only available from + here, include: the POSIX library, the Win32 library, HaXml, Readline, + and a few others. +
+