bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: carriage return line endings vs. literal ^M in status.m4


From: Elbert Pol
Subject: Re: carriage return line endings vs. literal ^M in status.m4
Date: Sun, 06 Apr 2008 13:31:55 +0200
User-agent: Thunderbird 3.0a1pre (OS/2/2008010306)

Hoi Ralf,

Thankz for the patch.
But when i use the patch and use make i get this:

cd . && ash.exe U:/coreutils-6.10/build-aux/missing --run aclocal-1.10a -I m4
aclocal-1.10a: No such file or directory
WARNING: `aclocal-1.10a' is missing on your system. You should only need it if
         you modified `acinclude.m4' or `configure.ac'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
cd . && ash.exe U:/coreutils-6.10/build-aux/missing --run automake-1.10a --gnu
automake-1.10a: No such file or directory
WARNING: `automake-1.10a' is missing on your system. You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd . && ash.exe U:/coreutils-6.10/build-aux/missing --run autoconf
make: *** [configure] Error 1

And if i don't use the patch i runs like before and sop with the fpurge error

Ralf Wildenhues wrote:
<http://thread.gmane.org/gmane.comp.sysutils.autoconf.patches/5475/focus=5501>

Hello Elbert, Jim,

thanks for the feedback.

* Jim Meyering wrote on Sat, Apr 05, 2008 at 11:39:15PM CEST:
Elbert replied privately:

    Think you made it working for os/2

    I send logs also...

The logs show a few minor issues:

First, your site file u:/moztools/config.site-gcc335b4 seems to have a
few portability issues:

| type: No such file or directory
| type: No such file or directory
| type: No such file or directory
| type: No such file or directory
| function: No such file or directory
| builtin: No such file or directory

Then, your hostname program looks broken:

| hostname: memory exhausted

Then, the gnulib macro gl_DOUBLE_SLASH_ROOT lacks a bit of quoting:

| checking whether // is distinct from /... ls: //: No such file or directory
| test: =: argument expected
| yes

The patch below, against gnulib, should fix this.  OK to apply?

Finally, the code to set $MAN in coreutils/configure.ac leaves CR
instances in the variable:

|  MAN='uname.1^M chroot.1^M hostid.1^M nice.1^M who.1^M ...'

Not sure whether that may be a problem later, probably not.

Cheers,
Ralf

2008-04-06  Ralf Wildenhues  <address@hidden>

        * m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT): Fix quoting,
        hide error from 'ls', needed on OS/2.
        Report by Elbert Pol <address@hidden>.

diff --git a/m4/double-slash-root.m4 b/m4/double-slash-root.m4
index 69d60d0..23bf5b0 100644
--- a/m4/double-slash-root.m4
+++ b/m4/double-slash-root.m4
@@ -1,5 +1,5 @@
-# double-slash-root.m4 serial 2   -*- Autoconf -*-
-dnl Copyright (C) 2006 Free Software Foundation, Inc.
+# double-slash-root.m4 serial 3   -*- Autoconf -*-
+dnl Copyright (C) 2006, 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -24,8 +24,8 @@ AC_DEFUN([gl_DOUBLE_SLASH_ROOT],
            gl_cv_double_slash_root='unknown, assuming no' ;;
        esac
       else
-       set x `ls -di / //`
-       if test $[2] = $[4] && wc //dev/null >/dev/null 2>&1; then
+       set x `ls -di / // 2>/dev/null`
+       if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then
          gl_cv_double_slash_root=no
        else
          gl_cv_double_slash_root=yes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]