bug-glibc
[Top][All Lists]
Advanced

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

Re: 2.2.4, gsed != sed


From: Ulrich Drepper
Subject: Re: 2.2.4, gsed != sed
Date: 29 Dec 2001 06:53:38 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus)

Andreas Jaeger <address@hidden> writes:

> configure.in has:
> 
> AC_CHECK_PROG_VER(SED, gsed sed, --version,
>   [GNU sed version \([0-9]*\.[0-9.]*\)],
>   [3.0[2-9]*|3.[1-9]*|[4-9]*],
>   SED=: aux_missing="$aux_missing sed")

I don't know why there is there is the test for gsed (probably copied
from somewhere else) but the test alone is of course useful without
using SED.  And the point stands: non-GNU seds would never be tested.
I.e., every release has the good chance of not working on any system
where sed is not GNU sed despite this change.  Appearances of sed in
Makefiles might be more easily detectable (and can be handled easily).
But sed is used in all kind of scripts.  Getting the configuration
there (the equivalent of the SED variable) requires major changes.
And fact is that for all the time the code exists and is used this
never was the problem.  So why bother?

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

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