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 unix docs if necessary dnl NOTE: This is a slight
24 dnl hack: It needs to be synchronized with fptools/configure.in and
25 dnl fptools/libraries/Makefile and should probably use target features
40 AC_SUBST(unixHTMLStart)
43 dnl Uncomment links to ObjectIO docs if necessary
44 AC_ARG_ENABLE(objectio,
46 Build ObjectIO, a portable GUI library for Haskell.
53 ObjectIOHTMLStart="<!--"
58 AC_SUBST(ObjectIOHTMLStart)
59 AC_SUBST(ObjectIOHTMLEnd)
61 dnl Uncomment links to HOpenGL docs if necessary
62 AC_ARG_ENABLE(hopengl,
64 Build HOpenGL, a Haskell binding for OpenGL/GLUT.
71 HOpenGLHTMLStart="<!--"
76 AC_SUBST(HOpenGLHTMLStart)
77 AC_SUBST(HOpenGLHTMLEnd)
79 dnl * Write the results...
80 AC_OUTPUT(ghc.spec docs/libraries.html)