[Top][All Lists]

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

Re: Configure error (objcopy)

From: Neal H. Walfield
Subject: Re: Configure error (objcopy)
Date: 04 Sep 2002 19:54:14 -0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2

> If we start to add checks even for essential tools, we
> would need to add checks for ls, touch, cd, test, wc, echo, and so
> on. IMHO, that sounds really foolish.

The majority of these commands, which you seem to insist are so
standard, are far from portable.  Please read the the autoconf manual
especially the section entitled "Limitations of Shell Builtins".  For
instance, it says the following about echo:

       The simple `echo' is probably the most surprising source of
       portability troubles.  It is not possible to use `echo'
       portably unless both options and escape sequences are omitted.
       New applications which are not aiming at portability should use
       `printf' instead of `echo'.

       Don't expect any option.  *Note Preset Output Variables::,
       `ECHO_N' etc. for a means to simulate `-c'.

It is indeed suggesting that an autoconf macro, ECHO_N, be used if
certain functionality is required.

reply via email to

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