m4/gst-plugin-docs.m4: remove the configure argument for enabling plugin doc...

m4/gst-plugin-docs.m4: remove the configure argument for enabling plugin doc build; having gtk-doc enabled and pyxml ...

Original commit message from CVS:
* m4/gst-plugin-docs.m4:
remove the configure argument for enabling plugin doc build;
having gtk-doc enabled and pyxml present is enough of a trigger
parent dd173e27
2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
* m4/gst-plugin-docs.m4:
remove the configure argument for enabling plugin doc build;
having gtk-doc enabled and pyxml present is enough of a trigger
2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
* coverage/lcov.mak:
......
......@@ -17,7 +17,6 @@ AC_DEFUN([GST_PYXML_CHECK],
fi
])
dnl GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-VERSION],[MINIMUM-PYTHON-VERSION])
dnl
dnl checks for prerequisites for the common/mangle-tmpl.py script
......@@ -27,37 +26,22 @@ AC_DEFUN([GST_PLUGIN_DOCS],
[
AC_BEFORE([GTK_DOC_CHECK],[$0])dnl check for gtk-doc first
dnl enable/disable plugin documentation building
AC_ARG_ENABLE(plugin-docs,
AC_HELP_STRING([--enable-plugin-docs],
[use gtk-doc to build plugin documentation [default=no]]),,
enable_plugin_docs=no)
if test x$enable_gtk_doc = xyes -a x$have_gtk_doc = xyes; then
if test x$enable_plugin_docs = xyes; then
GST_PYXML_CHECK([$1])
fi
GST_PYXML_CHECK([$1])
fi
build_plugin_docs=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_plugin_docs = xyes; then
if test "x$have_pyxml" != xyes; then
build_plugin_docs=no
AC_MSG_RESULT([no (pyxml not installed)])
else
build_plugin_docs=yes
AC_MSG_RESULT([yes])
fi
if test "x$have_pyxml" != xyes; then
AC_MSG_RESULT([no (pyxml not installed)])
else
build_plugin_docs=no
AC_MSG_RESULT([no (disabled)])
build_plugin_docs=yes
AC_MSG_RESULT([yes])
fi
else
build_plugin_docs=no
AC_MSG_RESULT([no (gtk-doc disabled or not available)])
fi
AM_CONDITIONAL(ENABLE_PLUGIN_DOCS, test x$build_plugin_docs = xyes)
])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment