[Top][All Lists]

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

Re: DJGPP autoconf 2.59 bug (possibly change '\\r' -> '\r')

From: Ralf Wildenhues
Subject: Re: DJGPP autoconf 2.59 bug (possibly change '\\r' -> '\r')
Date: Sat, 11 Jul 2009 08:21:13 +0200
User-agent: Mutt/1.5.20 (2009-06-15)

Hello Rugxulo,

thanks for the bug report.

* Rugxulo wrote on Fri, Jul 10, 2009 at 06:49:08PM CEST:
> I've got autoconf 2.59 for DJGPP. Okay, I'm not actually directly
> using that, only trying to compile ZILE 2.3.9. Here's one of the
> problems:
> -----------------------------------------------------
> ...
> checking for working curses... yes
> checking for lua... no
> checking Lua version is in range 501 <= v < 502... no
> configure: creating ./config.status
> config.status: creating Makefile
> gawk: ./confs12910/subs.awk:1: BEGIN {\r
> gawk: ./confs12910/subs.awk:1:        ^ backslash not last character on line
> config.status: error: could not create Makefile
> [ Vista/DJGPP ] - Fri 07/10/2009 >cat \armslurp\djgpp\manifest\acnf259b.ver
> acnf259b.zip - autoconf-2.59 binary archive for DJGPP

FWIW, I'm pretty sure this package uses a configure script that comes
from a newer Autoconf version.  See
  ./configure --version

to find out for sure.

> In other words, this part of "configure" seems to be wrong:
> -----------------------------------------------------
> 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'             # should probably be '\r'

Yes, you are right.  This bug has already been fixed in commit bc9bc82a1
which has happened after 2.63, so it is not in a stable release yet.

It would be helpful if you or somebody else could grab the current git
Autoconf sources, build it and run its testsuite on DJGPP and report the
results here.  That would go a long way in ensuring that 2.64 works well
on this system.


reply via email to

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