Commit c952d3eb authored by krasimir's avatar krasimir
Browse files

[project @ 2002-07-23 22:42:17 by krasimir]

add --enable-objectio configuration option
parent 3b66313a
......@@ -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,
......
......@@ -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="<!--"
ObjectIOHTMLEnd="-->"
]
)
AC_SUBST(ObjectIOHTMLStart)
AC_SUBST(ObjectIOHTMLEnd)
dnl Uncomment links to HOpenGL docs if necessary
AC_ARG_ENABLE(hopengl,
[ --enable-hopengl
......
......@@ -70,9 +70,11 @@
the OpenGL utility toolkit.
</LI>
@HOpenGLHTMLEnd@
@ObjectIOHTMLStart@
<LI>
<A HREF="ObjectIO/index.html"><TT>ObjectIO</TT></a>: GUI library.
</LI>
@ObjectIOHTMLEnd@
</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