"Nelson H. F. Beebe" <[EMAIL PROTECTED]> writes:
> Yes, the Bourne shell on SGI IRIX 6 supports shell functions
OK, thanks, I looked into the matter further and installed this patch,
which should do the trick in the next gzip distribution. I assume
that the command
test "$(expr 3 + 4)" -eq 7
reliably fails for the shell in question.
2007-01-10 Paul Eggert <[EMAIL PROTECTED]>
* m4/shell.m4 (AC_PROG_SHELL): Test that $(...) works.
Problem reported for SGI IRIX 6 by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/bug-gzip/2007-01/msg00007.html>.
--- m4/shell.m4 4 Nov 2001 01:18:43 -0000 1.4
+++ m4/shell.m4 11 Jan 2007 06:01:54 -0000 1.6
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
# AC_PROG_SHELL
# -------------
@@ -15,6 +15,8 @@ AC_DEFUN([AC_PROG_SHELL],
>conftest.c || exit
>|conftest.c || exit
!>conftest.c || exit
+ # Test that $(...) works.
+ test "$(expr 3 + 4)" -eq 7 || exit
'
ac_cv_path_shell=no