Re: RFC: Changing AC_DEFINE

2001-06-19 Thread Alexandre Oliva
On Jun 18, 2001, Tim Van Holder <[EMAIL PROTECTED]> wrote: > and $echo is set to 'echo -E' when needed? Libtool tries a number of alternatives to echo: ksh's print, `printf %s', a helper script as follows: cat

Re: RFC: Changing AC_DEFINE

2001-06-18 Thread Tim Van Holder
On 17 Jun 2001 19:11:05 -0300, Alexandre Oliva wrote: > On Jun 9, 2001, "Tim Van Holder" <[EMAIL PROTECTED]> wrote: > > I'm afraid not even -E is a complete solution. Try, for example: > > echo -E -e '\a' > > and note that `-e' isn't echoed, and you get a beep, not a literal > `\a'. Hmm - an

Re: RFC: Changing AC_DEFINE

2001-06-17 Thread Alexandre Oliva
On Jun 9, 2001, "Tim Van Holder" <[EMAIL PROTECTED]> wrote: Alexandre> IMO, the best way to go is for autoconf to come up with a Alexandre> safe echo, i.e., one that won't mess up any characters, Alexandre> will preserve backslashes, etc, in a similar way that Alexandre> libtool does. In fact,

Re: RFC: Changing AC_DEFINE

2001-06-09 Thread Tim Van Holder
> Alexandre> IMO, the best way to go is for autoconf to come up with a > Alexandre> safe echo, i.e., one that won't mess up any characters, > Alexandre> will preserve backslashes, etc, in a similar way that > Alexandre> libtool does. In fact, this would help libtool a lot as we > Alexandre> move

Re: RFC: Changing AC_DEFINE

2001-06-09 Thread Alexandre Oliva
On Jun 2, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: >> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Jun 1, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: >>> I would like to address the issues raised in >>> http://gcc.gnu.org/ml/gcc/2001-03/msg00814.html for

Re: RFC: Changing AC_DEFINE

2001-06-02 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Jun 1, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: >> I would like to address the issues raised in >> http://gcc.gnu.org/ml/gcc/2001-03/msg00814.html for 2.51. This >> basically means try to use `echo' instead of a

Re: RFC: Changing AC_DEFINE

2001-06-01 Thread Alexandre Oliva
On Jun 1, 2001, Paul Eggert <[EMAIL PROTECTED]> wrote: > * doc/autoconf.texi: Talk about here documents and speedups. > Do not use "echo" on arbitrary strings. > Spell "here-documents" consistently with the standard. Ok. I'd have extended a bit further in the origin of ineffi

Re: RFC: Changing AC_DEFINE

2001-06-01 Thread Paul Eggert
> From: Alexandre Oliva <[EMAIL PROTECTED]> > Date: 01 Jun 2001 17:33:39 -0300 > > you generally can't tell at autoconf-time whether there are going to > be funky characters in the macro definition so, in general, you'll > need to test it at run-time, and then, you'll have a here-doc anyway > in

Re: RFC: Changing AC_DEFINE

2001-06-01 Thread Alexandre Oliva
On Jun 1, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: > I would like to address the issues raised in > http://gcc.gnu.org/ml/gcc/2001-03/msg00814.html for 2.51. This > basically means try to use `echo' instead of a heredoc when there are > no funky characters. Err... I don't understand how