1 dnl GHC-only part of fptools configuration
3 dnl Copyright (c) 1999 Manuel M. T. Chakravarty <chak@acm.org>
5 dnl This file is subject to the same free software license as GHC.
7 dnl ######################################################################
8 dnl Process this file with autoconf to produce a configure script.
9 dnl ######################################################################
12 dnl * Initialise and check sanity.
15 dnl * Compute the version number.
16 version=`sed -e 's/.*\([[0-9]]\)\.\([[0-9]]*\).*/\1.\2/' VERSION`
19 dnl These are needed by the .spec file.
23 dnl Uncomment links to HOpenGL docs if necessary
24 AC_ARG_ENABLE(hopengl,
26 Build HOpenGL, a Haskell binding for OpenGL/GLUT, too.
27 (This option is only relevant when hslibs are built.)
34 HOpenGLHTMLStart="<!--"
39 AC_SUBST(HOpenGLHTMLStart)
40 AC_SUBST(HOpenGLHTMLEnd)
42 dnl * Write the results...
43 AC_OUTPUT(ghc.spec docs/index.html)