2019-06-21 11:15:51 +0100, Geoff Clare:
[...]
> > if test -n "$BASH_VERSION"; then
> > eval 'as_f_echo() { printf "%s\n" "$@"; }'
> > as_echo=as_f_echo
> > fi
>
> Probably simpler just to put "set -f" at the top of the configure
> script. (And if globbing is needed at any point, turn it back on
> temporarily.)
set -f is for something else in zsh unless in sh emulation and
you can see that script aims to also support zsh when not in sh
emulation.
Also autoconf is a framework designed to build those configure
scripts. That part of the code is in autoconf itself, but other
parts of the configure script are generated based on code
written by software developers to test for specific things.
And autoconf needs to give them the guarantee that globbing is
enabled if they need it. Changing it would be an incompatible
change of interface.
--
Stephane