Re: Problem in patch 26 - Configure

Jesse Thilo (Jesse.Thilo@pobox.com)
Mon, 10 Feb 1997 14:30:31 -0500 (EST)


> This patch got made to Configure in pl26:
> - if expr "$ans" : '0$\|-?[1-9][0-9]*$' > /dev/null; then
> + if expr "$ans" : '0$\|-\?[1-9][0-9]*$' > /dev/null; then
>
> That's in the int function. There's a similar \ added before a + in the hex
> function. This breaks configure. Every time you give an answer to an int
> question (eg max no of tagged queue commands), it gives you the help.
> This means that make oldconfig goes into an infinite loop.

Upgrade your GNU sh-utils (latest is 1.16). The expr command has been
made a bit more POSIX compliant, and requires the backslash in these
two cases.