~ubuntu-branches/ubuntu/natty/gst-entrans/natty

« back to all changes in this revision

Viewing changes to common/m4/gst-plugin-docs.m4

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2010-09-13 19:49:29 UTC
  • Revision ID: james.westby@ubuntu.com-20100913194929-qz90a14xyxln9yfz
Tags: upstream-0.10.2
ImportĀ upstreamĀ versionĀ 0.10.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl 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([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 -a x$have_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
])