diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/m4/gst-plugin-docs.m4 | 5 |
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 |