diff options
-rw-r--r-- | m4/gst-doc.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/gst-doc.m4 b/m4/gst-doc.m4 index d66350a..ac082fd 100644 --- a/m4/gst-doc.m4 +++ b/m4/gst-doc.m4 @@ -65,13 +65,14 @@ if test "x$HAVE_FIG2DEV" = "xtrue" ; then fi fi +AS_PATH_PYTHON(2.1) +AC_SUBST(PYTHON) + AC_ARG_ENABLE(docs-build, AC_HELP_STRING([--enable-docs-build],[enable building of documentation]), [case "${enableval}" in yes) if test "x$HAVE_GTK_DOC" = "xtrue" ; then - AS_PATH_PYTHON(2.1) - AC_SUBST(PYTHON) BUILD_DOCS=yes else AC_MSG_ERROR([you don't have gtk-doc, so don't use --enable-docs-build]) |