[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
status.m4 off-by-one (was: AC_CHECK_TOOL AC_SUBSTs more than necessary)
From: |
Ralf Wildenhues |
Subject: |
status.m4 off-by-one (was: AC_CHECK_TOOL AC_SUBSTs more than necessary) |
Date: |
Tue, 8 Nov 2005 12:59:45 +0100 |
User-agent: |
Mutt/1.5.11 |
[ please remove libtool-patches from followups ]
* Ralf Wildenhues wrote on Tue, Nov 08, 2005 at 09:53:59AM CET:
>
> This patch breaks/exposes an issue with the status.m4 code in CVS
> HEAD Libtool tests 34, 35 (early-libtool.at tests). I have no idea
> whether autoconf or Libtool's LT_OUTPUT code is at fault; in any
> case, to me it looks like the patch has absolutely _nothing_ to do
> with the part that suddenly breaks.
It's an off-by-one in status.m4, I just don't know where.
Has nothing to do with Libtool.
I can reproduce it with
(
echo AC_INIT
i=1
while test $i -le 59; do
echo "AC_SUBST([a$i])"
i=`expr $i + 1`
done
echo '
AC_CONFIG_FILES([Makefile])
AC_OUTPUT'
) > configure.ac
touch Makefile.in
autoconf
./configure
| configure: creating ./config.status
| ./configure: line 2360: _ACEOF: command not found
| grep: conf18837subs.sed: No such file or directory
| ./configure: line 2362: test: =: unary operator expected
| ./configure: line 2371: syntax error near unexpected token `done'
| ./configure: line 2371: `done'
It works with 58 or 60. Presumably, this is around 100 substitutions in
total.
Cheers,
Ralf