bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] CR handling related autoconf problem


From: Ralf Wildenhues
Subject: Re: [BUG] CR handling related autoconf problem
Date: Sat, 21 Mar 2009 11:33:19 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Andris,

* Andris Pavenis wrote on Fri, Mar 20, 2009 at 07:28:50PM CET:
> Current handling CR in config.status breaks for DJGPP all
> packeges which configure script has been updated with new
> autoconf versions (like 2.63).
>
> The awk script subs.awk generated by config.status contains
> \r at end of each line instead of real CR (see attachment
> for an example). As result awk fails with an error message:
>
> configure: creating ./config.status
> config.status: creating Makefile
> gawk: ./conf6531-11753/subs.awk:1: BEGIN {\r
> gawk: ./conf6531-11753/subs.awk:1:        ^ backslash not last character on 
> line

Thanks for the bug report and patch.  Could you please run the Autoconf
testsuite on this system, with your patch applied, and report the
result?  Which awk version is this?  Do you mind being added to THANKS?

Thanks,
Ralf

> --- status.m4.orig    2009-03-20 20:01:18.000000000 +0000
> +++ status.m4 2009-03-20 20:02:26.000000000 +0000
> @@ -373,7 +373,7 @@
>  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='\\r'
> +  ac_cs_awk_cr='\r'
>  else
>    ac_cs_awk_cr=$ac_cr
>  fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]