[gxml] Fixed --enable-devhelp-docs without --enable-gtk-docs
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] Fixed --enable-devhelp-docs without --enable-gtk-docs
- Date: Mon, 4 May 2015 14:34:48 +0000 (UTC)
commit 37a96d159323d6a618456dbe96bb5116b1f773fd
Author: Daniel Espinosa <esodan gmail com>
Date: Mon May 4 09:34:11 2015 -0500
Fixed --enable-devhelp-docs without --enable-gtk-docs
configure.ac | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f74f65b..6434f24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,18 +177,6 @@ AC_ARG_ENABLE([gir-docs],
AS_HELP_STRING([--enable-gir-docs],[Enable documented GIR generation]),
[enable_gir_docs=$enableval], [enable_gir_docs=no])
-if test x$enable_devhelp_docs = xyes; then
- if test x$have_valadoc = xno; then
- AC_MSG_ERROR([valadoc and gtk-doc is required, to generate devhelp documentation. Use --enable-valadoc
and --enable-gtk-doc])
- fi
-fi
-
-if test x$enable_gir_docs = xyes; then
- if test x$have_valadoc = xno; then
- AC_MSG_ERROR([valadoc is required, to generate GIR documentation. Use --enable-valadoc and
--enable-gtk-doc])
- fi
-fi
-
have_gtkdoc=no
if test x$enable_gtk_docs = xyes; then
if test x$have_valadoc = xyes; then
@@ -200,6 +188,18 @@ if test x$enable_gtk_docs = xyes; then
fi
+if test x$enable_devhelp_docs = xyes; then
+ if test x$have_valadoc = xno -o x$have_gtkdoc = xno; then
+ AC_MSG_ERROR([valadoc and gtk-doc is required, to generate devhelp documentation. Use --enable-valadoc
and --enable-gtk-doc])
+ fi
+fi
+
+if test x$enable_gir_docs = xyes; then
+ if test x$have_valadoc = xno; then
+ AC_MSG_ERROR([valadoc is required, to generate GIR documentation. Use --enable-valadoc and
--enable-gtk-doc])
+ fi
+fi
+
dnl Find yelp-build program
enable_mallard_doc="no"
girdocs=no
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]