-dnl --- MathML Viewer ---
-AC_MSG_CHECKING([whether to build MathML-Viewer plugin])
-AC_ARG_ENABLE(mathml-viewer-plugin,
- [ --disable-mathml-viewer-plugin Do not build MathML-Viewer plugin],
- [ac_cv_enable_mathml_viewer_plugin=$enableval], [ac_cv_enable_mathml_viewer_plugin=yes])
-if test x"$ac_cv_enable_mathml_viewer_plugin" = xyes; then
- AC_MSG_RESULT(yes)
- PKG_CHECK_MODULES(GTK_MATH_VIEW, gtkmathview >= 0.5, :, ac_cv_enable_mathml_viewer_plugin=no)
-
- if test x"$ac_cv_enable_mathml_viewer_plugin" = xyes; then
-
- PLUGINS="mathml-viewer $PLUGINS"
- else
- AC_MSG_RESULT(not found)
- AC_MSG_WARN([*** MathML-Viewer plugin will not be built ***])
- fi
-else
- AC_MSG_RESULT(no)
-fi
-AC_SUBST(GTK_MATH_VIEW_CFLAGS)
-AC_SUBST(GTK_MATH_VIEW_LIBS)
-AM_CONDITIONAL(BUILD_MATHML_VIEWER_PLUGIN, test x"$ac_cv_enable_mathml_viewer_plugin" = xyes)
-