Re: Problem in patch 26 - Configure

John Gotts (
Mon, 10 Feb 1997 17:15:52 -0500

In message <>, Kevin Lentin write

>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.

The solution is to upgrade your sh-utils, which contains a more POSIXly
correct version of expr. This should probably be added to the changes

John GOTTS <>
Senior, EE/Motif Programmer/SysAdmin/Linux Hacker/Amateur Radio Callsign N8QDW