On Tue, Jun 9, 2009 at 1:19 PM, Zach Welch<z...@superlucidity.net> wrote: > On Tue, 2009-06-09 at 12:29 +0200, Michael Bruck wrote: >> IIRC I had to set >> >> SHELLOPTS=igncr >> >> globally to force cygwin bash to work with CRLF scripts. On the other >> hand I suspect that option is what breaks the autotools generated >> configure file for me. So I "correct" configure manually whenever it >> is regenerated by replacing '\\r' (see full-text search) with $ac_cr. > > Can you provides some more details of your specific process? Basically, > what macro(s) create the output that you need to fix up? We must be
No. It is a call to gawk, which causes the problem. The whole section with the edit in it looks like this: # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr=$ac_cr else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF > missing something, because I do not recall this much pain in the past. The problem has been there since I used cygwin for this (with igncr always set). Michael _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development