gnome-autogen.sh: Check for yelp.m4 with YELP_HELP_INIT
authorShaun McCance <shaunm@gnome.org>
Thu, 12 May 2011 15:00:09 +0000 (11:00 -0400)
committerShaun McCance <shaunm@gnome.org>
Thu, 12 May 2011 16:29:05 +0000 (12:29 -0400)
macros2/gnome-autogen.sh

index 940b7a8..ead647a 100644 (file)
@@ -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 ||