"Nelson H. F. Beebe" <[EMAIL PROTECTED]> writes: >>> It could well be that the 'configure' is not finding a >>> POSIX-compatible shell on SGI IRIX MIPS, even though such a shell does >>> exist. If so, we can focus on getting that to work; that should fix >>> the problem with zgrep. > > If you need $(...) for nesting, then the best choice is likely to be a > Korn shell or a lookalike. /bin/ksh, /bin/bash, /bin/pdksh, /bin/zsh, > and companions in /usr/bin and $(prefix)/bin seem reasonable.
Yes. 'configure' tries shells in the order /bin/sh, /bin/bash, /bin/ksh. It does not test for $(...) support. Still, it prefers shells that support shell functions, so I am surprised it picked a shell that lacks $(...) when ksh was available. Does /bin/sh support shell functions on your host? If so, we can fix the problem by changing Autoconf to also prefer shells that support $(...).