Paul Gilmartin <[EMAIL PROTECTED]> writes: > Just thought you'd like to know,
Yes. We can fix this in m4/double-slash-root.m4. Can you please confirm the following? 1. If you run this shell command: wc //dev/null >/dev/null 2>&1 echo status = $? then the output is "status = 1" or some nonzero status like that. 2. In coreutils, the command build-aux/config.guess outputs "i370-ibm-openedition". If my guesses are right, the following patch should work, but I'd like you to confirm my guesses before installing this. Thanks. 2006-12-17 Paul Eggert <[EMAIL PROTECTED] * m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT): Port to z/OS. Problem reported by Paul Gilmartin. --- m4/double-slash-root.m4.~1.1.~ 2006-07-03 01:32:46.000000000 -0700 +++ m4/double-slash-root.m4 2006-12-17 23:20:58.000000000 -0800 @@ -1,4 +1,4 @@ -#serial 1 -*- autoconf -*- +#serial 2 -*- autoconf -*- dnl Copyright (C) 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -11,12 +11,12 @@ AC_DEFUN([gl_DOUBLE_SLASH_ROOT], [ if test x"$cross_compiling" = xyes ; then # When cross-compiling, there is no way to tell whether // is special # short of a list of hosts. However, the only known hosts to date - # that have a distinct // are Apollo DomainOS (too old to port to) - # and Cygwin. If anyone knows of another system for which // has + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has # special semantics and is distinct from /, please report it to # <bug-coreutils@gnu.org>. case $host in - *-cygwin) + *-cygwin | i370-ibm-openedition) ac_cv_double_slash_root=yes ;; *) # Be optimistic and assume that / and // are the same when we @@ -25,7 +25,7 @@ AC_DEFUN([gl_DOUBLE_SLASH_ROOT], esac else set x `ls -di / //` - if test $[2] = $[4]; then + if test $[2] = $[4] && wc //dev/null >/dev/null 2>&1; then ac_cv_double_slash_root=no else ac_cv_double_slash_root=yes