bug-autoconf
[Top][All Lists]
Advanced

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

Re: automake-1.11.1 test failure on Mac OS X 10.6


From: Ralf Wildenhues
Subject: Re: automake-1.11.1 test failure on Mac OS X 10.6
Date: Sun, 24 Jan 2010 09:34:16 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hello,

Andris reported off-list that he couldn't reproduce the failure on DJGPP
anymore either, so I went ahead and applied this patch now.

Thanks everyone for the feedback!
Ralf

* Ralf Wildenhues wrote on Sat, Jan 16, 2010 at 12:46:54PM CET:
>     Fix substitution of carriage return on Darwin.
>     
>     * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Set
>     ac_cs_awk_cr to '\\r', so that sed portably expands this to '\r'
>     rather than a literal carriage return, to fix substitution on
>     Darwin.  Regression introduced in 2.63b.
>     Report by Peter O'Gorman.
> 
> diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
> index f74bd34..3c6cf38 100644
> --- a/lib/autoconf/status.m4
> +++ b/lib/autoconf/status.m4
> @@ -364,7 +364,7 @@ if test "x$ac_cr" = x; then
>  fi
>  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]