Initial release including wifi display based on gst-rtsp-server-1.4.1
[platform/upstream/gstreamer.git] / common / m4 / gst-plugin-docs.m4
1 dnl AG_GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-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_REQUIRE([AM_PATH_PYTHON])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     if test x$PYTHON != x; then
15       build_plugin_docs=yes
16       AC_MSG_RESULT([yes])
17     else
18       AC_MSG_RESULT([no (python not found)])
19     fi
20   else
21     AC_MSG_RESULT([no (gtk-doc disabled or not available)])
22   fi
23
24   AM_CONDITIONAL(ENABLE_PLUGIN_DOCS, test x$build_plugin_docs = xyes)
25 ])