X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fconfigure.in;h=38595bf4f7c28d0b931c53965c4d6329baa52a8b;hb=c389ab20bbfd0ea98953d630502a43fe44050f2c;hp=f1cdd0a0c84f05cb37f1f8ee61a90a97d1c45fa8;hpb=4394bd8aa9d4a3d6b227ca8a261fce1af65549a2;p=ghc-hetmet.git diff --git a/ghc/configure.in b/ghc/configure.in index f1cdd0a..38595bf 100644 --- a/ghc/configure.in +++ b/ghc/configure.in @@ -20,11 +20,30 @@ dnl These are needed by the .spec file. AC_SUBST(version) AC_SUBST(patchlevel) +dnl Uncomment links to ObjectIO docs if necessary +AC_ARG_ENABLE(objectio, +[ --enable-objectio + Build ObjectIO, a portable GUI library for Haskell. + (This option is only relevant when libraries are built.) +], +[ +ObjectIOHTMLStart="" +ObjectIOHTMLEnd="" +], +[ +ObjectIOHTMLStart="" +] +) + +AC_SUBST(ObjectIOHTMLStart) +AC_SUBST(ObjectIOHTMLEnd) + 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.) + (NOTE: Work in progress, currently only GLUT is supported!) ], [ HOpenGLHTMLStart="" @@ -40,4 +59,4 @@ AC_SUBST(HOpenGLHTMLStart) AC_SUBST(HOpenGLHTMLEnd) dnl * Write the results... -AC_OUTPUT(ghc.spec docs/index.html) +AC_OUTPUT(ghc.spec docs/index.html docs/libraries.html)