This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Change to doc/Makefile.am for "Extracted from" messages
- From: "Donn Terry" <donnte at microsoft dot com>
- To: <binutils at sources dot redhat dot com>,"Alan Modra" <amodra at bigpond dot net dot au>
- Date: Thu, 6 Jun 2002 23:11:45 -0700
- Subject: Change to doc/Makefile.am for "Extracted from" messages
Unhappily, echo -n is neither POSIX conforming nor portable. In fact,
POSIX conforming systems are fairly explicitly prohibited from
supporting it.
(Although there recently was a go-around about that within the Austin
group,
it was about support of the AT&T style formatting.)
There is a configure test for which version of echo is installed (it
appears in
the configure for bfd, look for an echo -n there). The "right answer"
is the
printf command, but I don't think it's lowest common denominator enough
to
be useful.
The consequence of this is that the -n appears in (non-comment) source
in bfd.h,
making the compiler rather unhappy.
Donn