[banshee] [build] Clean up gnome-doc.m4
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [build] Clean up gnome-doc.m4
- Date: Tue, 8 Jun 2010 19:28:45 +0000 (UTC)
commit f694ea46b910349fb028dbc2b3784bf4294c495e
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Tue Jun 8 21:21:42 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]