[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DJGPP autoconf 2.59 bug (possibly change '\\r' -> '\r')
From: |
Rugxulo |
Subject: |
DJGPP autoconf 2.59 bug (possibly change '\\r' -> '\r') |
Date: |
Fri, 10 Jul 2009 11:49:08 -0500 |
Hi again, sorry for the previous off-topic / long-winded cc e-mail,
hope this one is more useful.
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
-----------------------------------------------------
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'
else
ac_cs_awk_cr=$ac_cr
fi
-----------------------------------------------------
I just changed '\\r' to '\r', and it *seems* to work. I'll be honest,
a lot of this is over my head. But without some (!) change, it won't
even compile ZILE (actually, won't make a makefile!), so I had to try
something. ;-)
- DJGPP autoconf 2.59 bug (possibly change '\\r' -> '\r'),
Rugxulo <=