Blame common/m4/gst-plugin-docs.m4
|
Packit |
971217 |
dnl AG_GST_PLUGIN_DOCS([MINIMUM-GTK-DOC-VERSION])
|
|
Packit |
971217 |
dnl
|
|
Packit |
971217 |
dnl checks for prerequisites for the common/mangle-tmpl.py script
|
|
Packit |
971217 |
dnl used when building the plugin documentation
|
|
Packit |
971217 |
|
|
Packit |
971217 |
AC_DEFUN([AG_GST_PLUGIN_DOCS],
|
|
Packit |
971217 |
[
|
|
Packit |
971217 |
AC_BEFORE([GTK_DOC_CHECK],[$0])dnl check for gtk-doc first
|
|
Packit |
971217 |
AC_REQUIRE([AM_PATH_PYTHON])dnl find python first
|
|
Packit |
971217 |
|
|
Packit |
971217 |
build_plugin_docs=no
|
|
Packit |
971217 |
AC_MSG_CHECKING([whether to build plugin documentation])
|
|
Packit |
971217 |
if test x$enable_gtk_doc = xyes; then
|
|
Packit |
971217 |
if test x$PYTHON != x; then
|
|
Packit |
971217 |
build_plugin_docs=yes
|
|
Packit |
971217 |
AC_MSG_RESULT([yes])
|
|
Packit |
971217 |
else
|
|
Packit |
971217 |
AC_MSG_RESULT([no (python not found)])
|
|
Packit |
971217 |
fi
|
|
Packit |
971217 |
else
|
|
Packit |
971217 |
AC_MSG_RESULT([no (gtk-doc disabled or not available)])
|
|
Packit |
971217 |
fi
|
|
Packit |
971217 |
|
|
Packit |
971217 |
AM_CONDITIONAL(ENABLE_PLUGIN_DOCS, test x$build_plugin_docs = xyes)
|
|
Packit |
971217 |
])
|