[[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 - - - - GHC Documentation - - - - -

GHC Documentation

- -

- 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. -

- - - - rmfile ./ghc/docs/index.html hunk ./ghc/docs/index.html.in 1 + + + + GHC Documentation + + + + +

GHC Documentation

+ +

+ 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. +

+ + + + }