Hello,
thank you for your bug report.
The transcript you posted can be simplified this way:
0) cd
/net/packages/gnu-gcc/2006-January/source/sparc-sun-solaris2.6-automake-1.9.6
1) sed 's,[EMAIL PROTECTED]@],1.9.6,g;...' m4/amversion.in >m4/amversion.m4
2) perllibdir=... ./aclocal --acdir=m4
3) perllibdir=... ./automake --libdir=lib --gnu
The sed command above should replace "@VERSION@" by 1.9.6. Does it work?
m4/amversion.m4 shouldn't contain "@VERSION@".
If yes, why does aclocal or automake complain? Is it possible that it is using
another copy of "amversion.m4"?
Hope these hints help you to find the cause of the problem.
Have a nice day,
Stepan Kasal