bug-gnulib
[Top][All Lists]
Advanced

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

Re: Bug in gnulib-tools prevents bison from bootstrapping


From: Paul Eggert
Subject: Re: Bug in gnulib-tools prevents bison from bootstrapping
Date: Sat, 23 Jun 2007 00:42:38 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

> libtool.m4 also tries other workarounds: searching for an 'echo' program
> in $PATH:/usr/ucb (but how is this better than 'cat'?) or using a built-in
> 'print -r' command (which shells except ksh have this?) or using 'printf'
> (is that portable nowadays?).

I think printf is portable nowadays, at least to the platforms that
gnulib-tool is likely to run on.

One advantage of using printf is that it won't mishandle a string that
happens to equal "-n".

Autoconf prefers "printf" in its "echo" substitute.  (The substitute
purposely does not treat "-n" specially; "-n" is just another string,
which is The Right Thing, usually.)  Autoconf falls back on some other
stuff if 'printf' doesn't work, but I doubt whether that matters for
gnulib-tool purposes.




reply via email to

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