Hello. [ I've redirected this to [EMAIL PROTECTED], since it's not really about a patch anymore. ]
Alexandre Duret-Lutz wrote: [snip] > Richard> On further investigation it seems to be a bug in the > Richard> DJGPP port of automake. There's something weird going > Richard> on with the autoconf --traces, which means it doesn't > Richard> find AM_INIT_AUTOMAKE. > > [...] > > I don't know what's wrong with --traces, however I can see that > diagnostics produced by Automake are confusing. It shouldn't > say AM_INIT_AUTOMAKE is too old if it didn't find it. I found the problem. It was due to $SHELL (in the environment) not being set to bash. DJGPP's system call tries to emulate things like redirection, if $SHELL does not name a Unixy shell like bash. This is because COMMAND.COM does not support "2>foo" style redirections. Another consequence is that the quoting may not work. The problem I experienced was caused by this: # Use a separator unlikely to be used, not `:', the default, which # has a precise meaning for AC_CONFIG_FILES and so on. $traces .= join (' ', map { "--trace=$_" . ':\$f:\$l::\$n::\${::}%' } @traced);