gst-plugin-docs.m4: fix python detection
authorTim-Philipp Müller <tim@centricular.net>
Wed, 31 Oct 2012 18:31:22 +0000 (18:31 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 31 Oct 2012 18:31:22 +0000 (18:31 +0000)
Actually check for python by doing AC_REQUIRE rather
than just AC_BEFORE.

m4/gst-plugin-docs.m4

index 614a424..4fb20ee 100644 (file)
@@ -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([AM_PATH_PYTHON],[2.7])dnl find python first
+  AC_REQUIRE([AM_PATH_PYTHON([2.7])])dnl find python first
 
   build_plugin_docs=no
   AC_MSG_CHECKING([whether to build plugin documentation])