<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 12-02-14 05:19 PM, Jon TURNEY wrote:
<blockquote cite="mid:4F3ADDF6.7010900@dronecode.org.uk" type="cite">
<pre wrap="">On 14/02/2012 16:29, Gaetan Nadon wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 12-02-13 06:13 PM, Jeremy Huddleston wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I just noticed this when using autoconf-2.61 ... does AS_ECHO_N require a newer version of autoconf? Can we work around that requirement?
...
configure:4924: error: possibly undefined macro: AS_ECHO_N
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
...
</pre>
</blockquote>
<pre wrap="">The AS_ECHO_N macro was introduced in 2.62. This information is not
written in the autoconf manual, so it is very difficult to catch.
I think we can use AS_ECHO as the string is not sent to stdout but
stored in a variable. There is therefore no new line to suppress.
</pre>
</blockquote>
<pre wrap="">
Yes, it seems I was excessively cautious in using AS_ECHO_N and AS_ECHO should
be fine, if backticks remove trailing newlines.</pre>
</blockquote>
I wasn't aware of that, but command substitution compresses
whitespace if the string (in this case the argument to the AS_ECHO
command) is not quoted.<br>
<br>
On a Debian platform, AS_ECHO is implemented with <big><tt>printf
%s\n</tt></big>.<br>
<blockquote cite="mid:4F3ADDF6.7010900@dronecode.org.uk" type="cite">
<pre wrap="">
Attached is a patch for review.
</pre>
</blockquote>
<br>
Reviewed-by: Gaetan Nadon <a class="moz-txt-link-rfc2396E" href="mailto:memsize@videotron.ca"><memsize@videotron.ca></a><br>
<br>
</body>
</html>