[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] echo -n is not portable and used too much

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-12 19:45:44 CET

On Mon, Feb 11, 2002 at 07:41:25PM -0800, Blair Zajac wrote:
> The supplied patch does the following:
> 1) Makefile.in: Use @ECHO_C@ and @ECHO_N@ supplied by autoconf to have
> echo not print a newline.


> 2) Makefile.in: Rebuild Makefile from Makefile.in using config.status
> automatically.

<rant mode="extreme">

Absolutely not. No way. Over my dead body.

This is one of the most borken behaviors ever given to the world by that
bastard system, Automake. If your Makefile is out of date, then you can
manually run the config.status script.

  (one day, long long ago)
  $ cvs -z6 up
  U ./configure.in

  (oh! a new configure. let me clean out the crap to start from scratch)
  $ make extraclean
  (fuckin' automake runs "automake" then "autoconf" then "./configure")
  ^C ^C ^C !!!!


There is no way that SVN's Makefile will ever run auto-rebuild operations
like that. Strict layers here. autogen.sh -> configure -> make. That order
*never* goes the other direction.


> 3) ./ac-helpers/gnu-diff.sh: Determine how to have echo not print a newline.


> For 3), I decided not to use autoconf, because that would mean creating
> another autoconf generated file and having Makefile clean it up. This
> seemed easier and the file is portable to different OSes without
> autogenerating.

Right! Good choice.


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:07 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.