[goffice] don't allow gtk-doc if without-gtk



commit 505544a0f130b224407de4b6987572e6d82040fc
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sun Sep 27 18:21:11 2009 +0200

    don't allow gtk-doc if without-gtk

 ChangeLog    |    4 ++++
 configure.in |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0ce8d25..d267586 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-09-27  Jean Brefort  <jean brefort normalesup org>
 
+	* configure.in: don't allow gtk-doc if without-gtk.
+
+2009-09-27  Jean Brefort  <jean brefort normalesup org>
+
 	* goffice/component/go-component.h: cleaned includes.
 	* goffice/goffice.h: make without-gtk build work again.
 	* goffice/graph/Makefile.am: ditto.
diff --git a/configure.in b/configure.in
index 2a01a8f..4666efd 100644
--- a/configure.in
+++ b/configure.in
@@ -602,6 +602,9 @@ AC_DEFINE(GO_VERSION_EXTRA, "goffice_version_extra",
 	[Extra, possibly empty tag for this release])
 
 GTK_DOC_CHECK([1.4])
+if test "x$with_gtk" = "xno" -a "x$enable_gtk_doc" = "xyes"; then
+	AC_ERROR([Building documentation is not allowed for a without Gtk+ build])
+fi
 
 AC_CONFIG_FILES([
 Makefile



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]