| + grep '^#[a-z]*[ ][ ]*GIIPATHTAG[ ]*$' /tmp/ah20650.out
| + echo 'autoheader: No template for symbol `GIIPATHTAG'\'''
| autoheader: No template for symbol `GIIPATHTAG'
| + status=1
Your problem is here. autoheader, when checking if all the symbols
have a template has a pattern which only matches for #undef or #define
patterns *without argument*. Your patterns are
/* The length of the tag */
#define KGITAGLEN FIXME_DEFINE_THIS!
which fools autoheader. You are encouraged to use only enpty #undef
templates, config.status will run faster, nevertheless, autoheader
incorrectly fails to recognize it *did* succeed, and will be fixed.
Well, actually, I don't know too well how to fix that, we need a
better regex, but which?
The former autoheader was just doing this:
+ fgrep KGITAGLEN /usr/share/autoconf/acconfig.h ./acconfig.h
i.e., it checks its input, not its output, and in addition with a
pretty weak regex. Should we do that?
grep '^#[a-z]*[ ][ ]*GIIPATHTAG'
and forget about symbols which could be prefix of another?
Akim