autoconf
[Top][All Lists]
Advanced

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

Re: AC_PROG_SED selecting correct sed for config.status


From: Albert Chin
Subject: Re: AC_PROG_SED selecting correct sed for config.status
Date: Wed, 29 Dec 2004 10:21:09 -0600
User-agent: Mutt/1.5.6i

On Wed, Dec 29, 2004 at 04:55:48PM +0100, Stepan Kasal wrote:
> On Wed, Dec 29, 2004 at 09:39:18AM -0600, Albert Chin wrote:
> > Is there a reason autoconf doesn't use AC_PROG_SED internally to
> > select a more-appropriate sed command to use in config.status?
> > 
> > Could we just AC_REQUIRE(AC_PROG_SED) in _AC_OUTPUT_CONFIG_STATUS and
> > then use $SED throughout generation of config.status?
> 
> I guess we could.  The price would be that the configure script would
> be bigger.

Isn't it big enough already that +~1k won't really matter?

> It's not just _AC_OUTPUT_CONFIG_STATUS which uses ``sed'', there are
> more macros.

I'm gonna work on this now and come up with a patch.

> Have you encountered any problem on a particular platform?

Yes. When building kdevelop from kde-3.3.2 on Solaris 2.6, 7,
substitions in Makefile.in's with long lines gets truncated resulting
in a dead build.

-- 
albert chin (address@hidden)




reply via email to

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