groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stumped on a simple autoconf/m4/sh problem


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.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]