On 12/1/24 21:03, G. Branden Robinson wrote:
[...]
So the "good tr" branch is being taken in the configure script, but not
in vivo at a shell prompt. I can't explain this.
First question: what shell is configure actually running under?
Autoconf makes an effort to find a plausible POSIX shell, and /bin/sh on
Solaris 10 is not it. The copy of bash-3.2 you used for interactive
testing was probably not it either. I seem to recall that grepping
config.status for CONFIG_SHELL should tell you.
Off the top of my head, try `CONFIG_SHELL=/full/name/of/bash-3.2
configure` and see if the test works.
Would someone kindly point out my rookie mistake?
I am not so certain that this is exactly a rookie mistake---it looks
like you may have uncovered a shell bug, but in which shell?
-- Jacob