[gnome-common] gnome-autogen.sh: Check for yelp.m4 with YELP_HELP_INIT



commit ee256d60790a464ca56b452c0a70ad0c03547519
Author: Shaun McCance <shaunm gnome org>
Date:   Thu May 12 11:00:09 2011 -0400

    gnome-autogen.sh: Check for yelp.m4 with YELP_HELP_INIT

 macros2/gnome-autogen.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh
index 940b7a8..ead647a 100644
--- a/macros2/gnome-autogen.sh
+++ b/macros2/gnome-autogen.sh
@@ -295,6 +295,10 @@ for configure_ac in $configure_files; do
 	want_maintainer_mode=true
     fi
 
+    if grep "^YELP_HELP_INIT" $configure_ac >/dev/null; then
+        require_m4macro yelp.m4
+    fi
+
     # check to make sure gnome-common macros can be found ...
     if grep "^GNOME_COMMON_INIT" $configure_ac >/dev/null ||
        grep "^GNOME_DEBUG_CHECK" $configure_ac >/dev/null ||



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