[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using result of AC_PROG_SED as sed program in config.status
From: |
Stepan Kasal |
Subject: |
Re: Using result of AC_PROG_SED as sed program in config.status |
Date: |
Fri, 4 Feb 2005 09:16:52 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi,
On Thu, Feb 03, 2005 at 11:06:02PM -0600, Albert Chin wrote:
> On Thu, Feb 03, 2005 at 06:46:20PM -0800, Paul Eggert wrote:
> > I'm a little reluctant to put this change in, as it will cause every
> > "configure" command to look for a nice "sed", even programs that
> > don't need one. [...]
FWIW, I agree with Albert. Noone can predict how long strings will be
computed for the AC_SUBST variables. So we should find a working sed,
to be safe.
Of course, AC_PROG_SED can be optimized, and I plan for that. For example,
we should 1) walk the path to look for a GNU sed installed as "sed" or "gsed"
2) walk the path again, doing the expensive test; as soon some sed passes
the maximum, we can quit, noone can be better.
You could perhaps record this work as a necessary prerequisite for the next
full release, but please accept Alberts patch.
Have a nice day,
Stepan Kasal