X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fconfigure.in;h=d9cd8ebaf240503554969a5492ddc328deb6b502;hb=6e5df3a4551b8d8b83e936b3f7b52edfc778ca8a;hp=ac52dc5df2b196481edf8b929922b5264d61ac64;hpb=6fb805e5006947372e4ad03889ab447cb857d125;p=ghc-hetmet.git diff --git a/ghc/configure.in b/ghc/configure.in index ac52dc5..d9cd8eb 100644 --- a/ghc/configure.in +++ b/ghc/configure.in @@ -20,5 +20,43 @@ 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. + (NOTE: Work in progress, currently only GLUT is supported!) +], +[ +HOpenGLHTMLStart="" +HOpenGLHTMLEnd="" +], +[ +HOpenGLHTMLStart="" +] +) + +AC_SUBST(HOpenGLHTMLStart) +AC_SUBST(HOpenGLHTMLEnd) + dnl * Write the results... -AC_OUTPUT(ghc.spec) +AC_OUTPUT(ghc.spec docs/index.html)