On 22/06/2019 06:33, Stephane Chazelas wrote:
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.
One of the first thing configure scripts do is check whether 'emulate
sh' is a supported command and execute it if so. That is enough to get
zsh to enter POSIX mode and accept 'set -f' with the standard meaning.
Cheers,
Harald van Dijk