[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: Rugxulo
Subject: Re: DJGPP autoconf 2.59 bug (possibly change '\\r' -> '\r')
Date: Sat, 11 Jul 2009 01:46:48 -0500


On Sat, Jul 11, 2009 at 1:21 AM, Ralf Wildenhues<address@hidden> wrote:
> 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.

Sorry, I (barely) know anything about the internals about that. I'm
not sure why I bothered mentioning what version, "just in case" I

>> 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.

I'm not sure if this is also related, but checks for "libgen.h" fail
... and yet ZILE still tries using it! Also, it couldn't find
"libcurses.a" (a copied version of libpdcurses.a), so I dunno.

> 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.

I'll post on comp.os.msdos.djgpp about this. To be honest, I don't
have git installed and never used it, hence I'm useless regarding it.

reply via email to

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