X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fconfigure.in;h=e9c9f95b0822cbf0c0a5b55024e31693a3d253d3;hb=ab81cb706aa98357f7da20a8bdd6f44b8be61d62;hp=ac52dc5df2b196481edf8b929922b5264d61ac64;hpb=6fb805e5006947372e4ad03889ab447cb857d125;p=ghc-hetmet.git diff --git a/ghc/configure.in b/ghc/configure.in index ac52dc5..e9c9f95 100644 --- a/ghc/configure.in +++ b/ghc/configure.in @@ -20,5 +20,41 @@ 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. +], +[ +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. +], +[ +HOpenGLHTMLStart="" +HOpenGLHTMLEnd="" +], +[ +HOpenGLHTMLStart="" +] +) + +AC_SUBST(HOpenGLHTMLStart) +AC_SUBST(HOpenGLHTMLEnd) + dnl * Write the results... -AC_OUTPUT(ghc.spec) +AC_OUTPUT(ghc.spec docs/index.html docs/libraries.html)