libtool-patches
[Top][All Lists]
Advanced

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

Re: cygwin: need to use the correct 'head.exe'


From: Alexandre Duret-Lutz
Subject: Re: cygwin: need to use the correct 'head.exe'
Date: Mon, 10 Mar 2003 21:09:04 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

>>> "Bob" == Bob Friesenhahn <address@hidden> writes:

[...]

 Bob> I also believe it is worth investigating to see if using 'sed' is
 Bob> acceptable.  It seems that the targets which execute win32_libid() are
 Bob> highly constrained so some simple testing will verify if sed is a
 Bob> reasonable substitute for those targets.

 Bob> Adding more tests to the configure script makes it larger and slower,
 Bob> which likely nullifies any benefits from using head.

FWIW, Automake removed all uses of `head' and `tail' last year.

2002-02-18  Paul Eggert  <address@hidden>

        * lib/depcomp: Don't use "tail +3"; it's not portable to
        POSIX 1003.1-2001 hosts.

2002-02-18  Jim Meyering  <address@hidden>

        * tests/cond12.test: Use sed 1q, not `head -n 1'.
        The latter is not portable to some old systems.
        * m4/depout.m4: Don't use `head -1'; it's no longer portable.
        Use `sed 1q' instead.
        * tests/insthook.test: Likewise.

See the following mails for details.
http://mail.gnu.org/archive/html/bug-automake/2002-02/msg00005.html
http://mail.gnu.org/archive/html/automake/2002-02/msg00137.html
-- 
Alexandre Duret-Lutz





reply via email to

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