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 ObjectIO docs if necessary
24 AC_ARG_ENABLE(objectio,
26 Build ObjectIO, a portable GUI library for Haskell.
27 (This option is only relevant when libraries are built.)
34 ObjectIOHTMLStart="<!--"
39 AC_SUBST(ObjectIOHTMLStart)
40 AC_SUBST(ObjectIOHTMLEnd)
42 dnl Uncomment links to HOpenGL docs if necessary
43 AC_ARG_ENABLE(hopengl,
45 Build HOpenGL, a Haskell binding for OpenGL/GLUT, too.
46 (NOTE: Work in progress, currently only GLUT is supported!)
53 HOpenGLHTMLStart="<!--"
58 AC_SUBST(HOpenGLHTMLStart)
59 AC_SUBST(HOpenGLHTMLEnd)
61 dnl * Write the results...
62 AC_OUTPUT(ghc.spec docs/index.html)