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,
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