[f-spot] [build] Clean up gnome-doc.m4



commit 6756c316f93ffe74029c1f6544398c577473bcf8
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Wed Jun 9 13:56:22 2010 +0200

    [build] Clean up gnome-doc.m4
    
    There's no need to check the version of gnome-doc-utils directly, it's
    done by GNOME_DOC_INIT. Also do some code indentation fix-ups.

 build/m4/shamrock/gnome-doc.m4 |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/build/m4/shamrock/gnome-doc.m4 b/build/m4/shamrock/gnome-doc.m4
index 43785c7..e8896bd 100644
--- a/build/m4/shamrock/gnome-doc.m4
+++ b/build/m4/shamrock/gnome-doc.m4
@@ -1,11 +1,6 @@
 AC_DEFUN([SHAMROCK_CHECK_GNOME_DOC_UTILS],
 [
-	PKG_CHECK_MODULES(GNOME_DOC_UTILS, gnome-doc-utils >= $1, 
-		HAVE_GNOME_DOC_UTILS=yes, HAVE_GNOME_DOC_UTILS=no)
+	GNOME_DOC_INIT([$1], HAVE_GNOME_DOC_UTILS=yes, HAVE_GNOME_DOC_UTILS=no)
 
-    AM_CONDITIONAL(ENABLE_GNOME_DOCS, test "x$HAVE_GNOME_DOC_UTILS" = "xyes")
-
-    if test "x$HAVE_GNOME_DOC_UTILS" = "xyes"; then
-        GNOME_DOC_INIT([$1])
-    fi
+	AM_CONDITIONAL(ENABLE_GNOME_DOCS, test "x$HAVE_GNOME_DOC_UTILS" = "xyes")
 ])



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