summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-09-23 13:31:02 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-09-23 13:31:02 -0400
commita26b7b70d8196c910c5f0faa0566f7384db5e860 (patch)
tree33d8cf0e3238092d61147445863f255a0e503dc2 /common
parent0c74330c35916001bc8cace3b7be0e1bb9a9f9a0 (diff)
downloadfarstream-a26b7b70d8196c910c5f0faa0566f7384db5e860.tar.gz
Require pygst to build module doc
Diffstat (limited to 'common')
-rw-r--r--common/m4/gst-plugin-docs.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/common/m4/gst-plugin-docs.m4 b/common/m4/gst-plugin-docs.m4
index a2853477..8a22ad01 100644
--- a/common/m4/gst-plugin-docs.m4
+++ b/common/m4/gst-plugin-docs.m4
@@ -9,8 +9,11 @@ AC_DEFUN([AG_GST_PLUGIN_DOCS],
AC_BEFORE([AS_PATH_PYTHON],[$1])dnl find python first
build_plugin_docs=no
+ have_pygst=no
+ PKG_CHECK_MODULES(PYDOCSTUFF, [ gst-python-0.10 ], [have_pygst=yes],
+ [have_pygst=no])
AC_MSG_CHECKING([whether to build plugin documentation])
- if test x$enable_gtk_doc = xyes -a x$have_gtk_doc = xyes; then
+ if test x$enable_gtk_doc = xyes -a x$have_pygst = xyes; then
build_plugin_docs=yes
AC_MSG_RESULT([yes])
else