Hi, Paul,
Thanks for your speedy reply.
In a recent note, Paul Eggert said:
> Date: Mon, 18 Dec 2006 00:08:05 -0800
>
> Yes. We can fix this in m4/double-slash-root.m4. Can you please
> confirm the following?
>
Good enough:
> 1. If you run this shell command:
>
> wc //dev/null >/dev/null 2>&1
> echo status = $?
>
[EMAIL PROTECTED]:141$ wc //dev/null >/dev/null 2>&1
[EMAIL PROTECTED]:142$ echo status = $?
status = 1
> 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".
>
[EMAIL PROTECTED]:143$ ../src/build-aux/config.guess
i370-ibm-openedition
(But I've long been tempted to tender a suggestion that the
guessers should supply a version for z/OS as they do for other
OSes.)
> 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]
>
Now, I'm in trouble. The patch wouldn't apply, so I made the
changes by hand and re-did the diff -u. Attached.
And it's been literally years since I did an autoconf. It's
probably out of date. And it couldn't find "configure.in".
Was I supposed to get one with the coreutils distribution?
I'll go hunt for a newer autoconf, and configure.in (any
pointers appreciated). May take me several days.
Thanks again,
gil
--
StorageTek
INFORMATION made POWERFUL
diff -ru ../orig/src/m4/double-slash-root.m4 ../src/m4/double-slash-root.m4
--- ../orig/src/m4/double-slash-root.m4 Mon Jul 3 02:32:46 2006
+++ ../src/m4/double-slash-root.m4 Mon Dec 18 07:48:18 2006
@@ -11,12 +11,12 @@
[ 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
# <[email protected]>.
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 @@
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