Added gst-plugins-base-subtitles0.10-0.10.34 for Meego Harmattan 1.2
[mafwsubrenderer] / gst-plugins-base-subtitles0.10 / common / m4 / gst-plugin-docs.m4
1 dnl AG_GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-VERSION],[MINIMUM-PYTHON-VERSION])
2 dnl
3 dnl checks for prerequisites for the common/mangle-tmpl.py script
4 dnl used when building the plugin documentation
5
6 AC_DEFUN([AG_GST_PLUGIN_DOCS],
7 [
8   AC_BEFORE([GTK_DOC_CHECK],[$0])dnl check for gtk-doc first
9   AC_BEFORE([AS_PATH_PYTHON],[$1])dnl find python first
10
11   build_plugin_docs=no
12   AC_MSG_CHECKING([whether to build plugin documentation])
13   if test x$enable_gtk_doc = xyes; then
14     build_plugin_docs=yes
15     AC_MSG_RESULT([yes])
16   else
17     AC_MSG_RESULT([no (gtk-doc disabled or not available)])
18   fi
19
20   AM_CONDITIONAL(ENABLE_PLUGIN_DOCS, test x$build_plugin_docs = xyes)
21 ])