|
From: | Jacob Bachmeyer |
Subject: | Re: stumped on a simple autoconf/m4/sh problem |
Date: | Sun, 1 Dec 2024 23:48:09 -0600 |
User-agent: | Mozilla Thunderbird |
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.
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?Would someone kindly point out my rookie mistake?
-- Jacob
[Prev in Thread] | Current Thread | [Next in Thread] |