[farsight2/master] Require pygst to build module doc

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:25:30 PST 2008


---
 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 a285347..8a22ad0 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
-- 
1.5.6.5




More information about the farsight-commits mailing list