GNOME Bugzilla – Bug 520549
Check for GNOME_DOC_INIT is broken for dasher
Last modified: 2008-03-22 13:21:20 UTC
dasher does this: if [[ x"$WITHGNOME" = xtrue ]]; then GNOME_DOC_INIT else The check is this: if grep "^GNOME_DOC_INIT" $basename >/dev/null; then printbold "Running $GNOME_DOC_PREPARE..." $GNOME_DOC_PREPARE --force --copy || exit 1 fi The check should allow spaces/tabs at the beginning of the line. I guess other checks should do the same too...
Well. It always is a bug to call GNOME_DOC_INIT conditionally, since it calls AM_CONDITIONAL and therefore must not be used conditionally. You can use e.g. GNOME_DOC_INIT([0.9.0],[have_gdu=yes],[have_gdu=no]) instead.
Ok, moving to dasher then.
Bug #520549 is related. (BTW, aclocal seems to scan for macros whereever they are in the line; not sure whether checking for configure.in/.ac errors is a good thing.)
This may in fact be a duplicate of bug 398103, but for now I'm just going to say it is a blocker. See bug 398103 attachment 106658 [details] [review] for hints towards a solution.
attachment 106658 [details] [review] applied in r3469.