Re: Problem in patch 26 - Configure

John Gotts (jgotts@engin.umich.edu)
Mon, 10 Feb 1997 17:15:52 -0500


In message <199702090347.OAA27363@fangorn.cs.monash.edu.au>, Kevin Lentin write
s:

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

--
John GOTTS <jgotts@engin.umich.edu> http://www-personal.engin.umich.edu/~jgotts
Senior, EE/Motif Programmer/SysAdmin/Linux Hacker/Amateur Radio Callsign N8QDW