m4: AG_GST_PLUGIN_DOCS: use AM_PYTHON_PATH instead of our AS_PATH_PYTHON
authorTim-Philipp Müller <tim@centricular.net>
Sat, 27 Oct 2012 14:39:57 +0000 (15:39 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 31 Oct 2012 17:39:28 +0000 (17:39 +0000)
And make the minimum python version argument optional since it's
for our own python code in common.

https://bugzilla.gnome.org/show_bug.cgi?id=563903

m4/gst-plugin-docs.m4

index dcfd61d..2af4c01 100644 (file)
@@ -1,4 +1,4 @@
-dnl AG_GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-VERSION],[MINIMUM-PYTHON-VERSION])
+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
@@ -6,7 +6,7 @@ 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_BEFORE([AS_PATH_PYTHON],[$1])dnl find python first
+  AC_BEFORE([AM_PATH_PYTHON],[2.1])dnl find python first
 
   build_plugin_docs=no
   AC_MSG_CHECKING([whether to build plugin documentation])