File: gst-plugin-docs.m4

package info (click to toggle)
farstream-0.2 0.2.8-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,932 kB
  • ctags: 4,991
  • sloc: ansic: 43,088; sh: 12,143; perl: 3,055; python: 1,827; makefile: 803; xml: 692
file content (25 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (46)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
dnl AG_GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-VERSION])
dnl
dnl checks for prerequisites for the common/mangle-tmpl.py script
dnl used when building the plugin documentation

AC_DEFUN([AG_GST_PLUGIN_DOCS],
[
  AC_BEFORE([GTK_DOC_CHECK],[$0])dnl check for gtk-doc first
  AC_REQUIRE([AM_PATH_PYTHON])dnl find python first

  build_plugin_docs=no
  AC_MSG_CHECKING([whether to build plugin documentation])
  if test x$enable_gtk_doc = xyes; then
    if test x$PYTHON != x; then
      build_plugin_docs=yes
      AC_MSG_RESULT([yes])
    else
      AC_MSG_RESULT([no (python not found)])
    fi
  else
    AC_MSG_RESULT([no (gtk-doc disabled or not available)])
  fi

  AM_CONDITIONAL(ENABLE_PLUGIN_DOCS, test x$build_plugin_docs = xyes)
])