From: krasimir Date: Tue, 23 Jul 2002 22:42:18 +0000 (+0000) Subject: [project @ 2002-07-23 22:42:17 by krasimir] X-Git-Tag: Approx_11550_changesets_converted~1810 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c952d3eb5903ef59c6515efdc2e2d595004c060a;p=ghc-hetmet.git [project @ 2002-07-23 22:42:17 by krasimir] add --enable-objectio configuration option --- diff --git a/configure.in b/configure.in index 925bf5b..cd13b2c 100644 --- a/configure.in +++ b/configure.in @@ -495,6 +495,18 @@ if test x"$EnableWin32DLLs" = "xYES" ; then AC_DEFINE(HAVE_WIN32_DLL_SUPPORT) fi +dnl ** Enable the building of the ObjectIO? +dnl -------------------------------------------------------------- +AC_ARG_ENABLE(objectio, +[ --enable-objectio + Build ObjectIO, a portable GUI library for Haskell. + (This option is only relevant when libraries are built.) +], +[GhcLibsWithObjectIO=YES], +[GhcLibsWithObjectIO=NO] +) +AC_SUBST(GhcLibsWithObjectIO) + dnl ** Enable the building of the OpenGL/GLUT binding in hslibs? dnl -------------------------------------------------------------- AC_ARG_ENABLE(hopengl, diff --git a/ghc/configure.in b/ghc/configure.in index f1cdd0a..1a403cc 100644 --- a/ghc/configure.in +++ b/ghc/configure.in @@ -20,6 +20,25 @@ 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 diff --git a/ghc/docs/index.html.in b/ghc/docs/index.html.in index e04643b..36f6acb 100644 --- a/ghc/docs/index.html.in +++ b/ghc/docs/index.html.in @@ -70,9 +70,11 @@ the OpenGL utility toolkit. @HOpenGLHTMLEnd@ +@ObjectIOHTMLStart@
  • ObjectIO: GUI library.
  • +@ObjectIOHTMLEnd@