Commit 4394bd8a authored by panne's avatar panne
Browse files

[project @ 2002-07-11 11:24:31 by panne]

Automagically insert links to the documentation of the OpenGL/GLUT
packages iff --enable-hopengl is used
parent 5cc4fb03
......@@ -20,5 +20,24 @@ dnl These are needed by the .spec file.
AC_SUBST(version)
AC_SUBST(patchlevel)
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="<!--"
HOpenGLHTMLEnd="-->"
]
)
AC_SUBST(HOpenGLHTMLStart)
AC_SUBST(HOpenGLHTMLEnd)
dnl * Write the results...
AC_OUTPUT(ghc.spec)
AC_OUTPUT(ghc.spec docs/index.html)
......@@ -60,6 +60,16 @@
<A HREF="haskell-src/index.html"><TT>haskell-src</TT></a>:
manipulating Haskell source code.
</LI>
@HOpenGLHTMLStart@
<LI>
<A HREF="OpenGL/index.html"><TT>OpenGL</TT></a>:
3D rendering.
</LI>
<LI>
<A HREF="GLUT/index.html"><TT>GLUT</TT></a>:
the OpenGL utility toolkit.
</LI>
@HOpenGLHTMLEnd@
</UL>
</LI>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment