In my case:
autoconf --trace=AC_SUBST:' AC_SUBST([$1])' | sort -u
or
autoconf -t AC_SUBST:' AC_SUBST([$1])' | sort -u
Returns:
autoconf: invalid number of arguments.
Try `autoconf --help' for more information.
However, autoconf --help shows that -t/--trace= is a valid option, so I
know the wrapper is identifying the desired autoconf as 2.53. The same
command works fine with the same source on my linux box, incidently. I
thought I'd see if anyone has seen this before...
in the wrapper script, we have to munge single-quote characters heavily.
It's possible I missed something -- here's the relevant code: