That works only on ASCII based platforms, and it requires tr (which wasn't formerly required, according to the thread quoted below).

-s

Thomas Dickey wrote:
On Mon, 27 Oct 2008, Steven R. Loomis wrote:

Thomas,
Sorry if I was unclear. I am using "^M" here to represent the single byte with an ASCII value 0x0D / 13 decimal, carriage return. I was not referring to the escape sequence "^" plus "M".

This is what I was suggesting (something to consider):

ac_cr=`echo X |tr X '\015'`

Thomas Dickey wrote:
On Mon, 27 Oct 2008, Steven R. Loomis wrote:

Hello,
autoconf 2.63 has worked well for our project (icu), except for an issue with a bare carriage return (hereafter '^M') in status.m4 which shows up in resulting configure scripts. The line in question is:

ac_cr='^M'




_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to