[gnome-doc-utils] Use AC_MSG_* when checking for gnome-doc-utils, bug #571300



commit 6e83f2abc33849e910655c395917b0eda62ae13c
Author: William Immendorf <will immendorf gmail com>
Date:   Tue Aug 4 13:33:32 2009 -0500

    Use AC_MSG_* when checking for gnome-doc-utils, bug #571300

 tools/gnome-doc-utils.m4 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tools/gnome-doc-utils.m4 b/tools/gnome-doc-utils.m4
index 4aef712..402bb3e 100644
--- a/tools/gnome-doc-utils.m4
+++ b/tools/gnome-doc-utils.m4
@@ -40,12 +40,15 @@ AC_DEFUN([GNOME_DOC_INIT],
 
 ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
 
+AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
 PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
 	[gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
 
 if test "$gdu_cv_have_gdu" = "yes"; then
+	AC_MSG_RESULT([yes])
 	ifelse([$2],,[:],[$2])
 else
+	AC_MSG_RESULT([no])
 	ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3])
 fi
 



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