/pidgin/main: 4ce836edff36: Fix gtk-doc configure check

Tomasz Wasilczyk twasilczyk at pidgin.im
Tue Feb 25 04:41:55 EST 2014


Changeset: 4ce836edff36c00862f7019dc12b8aab114c3293
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-02-25 10:41 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/4ce836edff36

Description:

Fix gtk-doc configure check

diffstat:

 configure.ac |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (19 lines):

diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -2867,7 +2867,14 @@ AM_CONDITIONAL(ENABLE_TRAYCOMPAT, test "
 m4_ifdef([GTK_DOC_CHECK], [
 GTK_DOC_CHECK([1.16],[--flavour no-tmpl])
 ],[
-AM_CONDITIONAL([ENABLE_GTK_DOC], false)
+	if test "x$force_deps" = "xyes" -a "x$enable_gtk_doc" = "xyes"; then
+		AC_MSG_ERROR([
+You have requested to generate documentation, but gtk-doc was not found.
+		])
+	fi
+
+	AM_CONDITIONAL([ENABLE_GTK_DOC], false)
+	enable_gtk_doc=no
 ])
 
 if test "x$enable_gtk_doc" = "x" ; then



More information about the Commits mailing list