[gxml] Fixed --enable-gir-docs enabled alone
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] Fixed --enable-gir-docs enabled alone
- Date: Sun, 3 May 2015 17:06:43 +0000 (UTC)
commit f4c6ce4a29521f4fdc93f74bbffcacb1ef8e6316
Author: Daniel Espinosa <esodan gmail com>
Date: Sun May 3 10:18:59 2015 -0500
Fixed --enable-gir-docs enabled alone
configure.ac | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5bea5f8..f74f65b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -179,7 +179,13 @@ AC_ARG_ENABLE([gir-docs],
if test x$enable_devhelp_docs = xyes; then
if test x$have_valadoc = xno; then
- AC_MSG_ERROR([You should require valadoc and gtk-doc, to generate devhelp documentation. Use
--enable-valadoc and --enable-gtk-doc])
+ 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
@@ -189,7 +195,7 @@ if test x$enable_gtk_docs = xyes; then
PKG_CHECK_MODULES([GTKDOC], gtk-doc)
have_gtkdoc=yes
else
- AC_MSG_ERROR([You should require valadoc, to generate gtk-doc documentation. Use --enable-valadoc])
+ AC_MSG_ERROR([valadoc is required, to generate gtk-doc documentation. Use --enable-valadoc])
fi
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]