revisit: bare carriage return in status.m4 / configure

2008-10-27 Thread Steven R. Loomis
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' If I am not misreading the git repository, the current development ve

Re: revisit: bare carriage return in status.m4 / configure

2008-10-27 Thread Steven R. Loomis
ontain that byte, even though all lines are terminated with 0x0A / 10 decimal, linefeed. tr would work (or an awk builtin? But, awk is what is being detected here) on ASCII-based systems. Non-ASCII-based systems would be easy enough to detect, though. -s Thomas Dickey wrote: On Mon, 27 O

Re: revisit: bare carriage return in status.m4 / configure

2008-10-27 Thread Steven R. Loomis
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 si

Re: revisit: bare carriage return in status.m4 / configure

2008-10-27 Thread Steven R. Loomis
Eric Blake wrote: Steven R. Loomis icu-project.org> writes: That works only on ASCII based platforms, and it requires tr (which wasn't formerly required, according to the thread quoted below). Autoconf is already a significant client of tr (for example, look at the ou

Re: Define a complete rule via autoconf (quoting issue, AC_SUBST)

2008-10-27 Thread Steven R. Loomis
Daniel Leidert wrote: Hi, I want to place a rule in several Makefiles. So I thought about putting @DESKTOP_DATA_RULE@ into every Makefile.am and define the rule via configure.ac. However, I can't get it to work. The rule is: $(desktop_DATA): $(desktop_in_files:.desktop.in=.desktop) @l