Re: [PATCH] Support a stack of LINENO values for AS_MESSAGE.

2008-10-16 Thread Paolo Bonzini
[snipped totally correct reasoning] So, for potential efficiency purposes, should we rewrite this line to use: as_lineno_stack=$as_lineno_stack=as_lineno_stack Actually as_lineno_stack=${as_lineno_stack}as_lineno_stack= or maybe even write AS_APPEND([var],[text]), which expands to a shell

[PATCH] Add multiple language testcase

2008-10-16 Thread Paolo Bonzini
Much to my surprise, the only testcase that tries using multiple languages in the Autoconf testsuite is... the Libtool integration test! And I'm not even sure it does with Libtool 2.x. So, I'm pushing this one. Paolo 2008-10-15 Paolo Bonzini [EMAIL PROTECTED] * tests/compile.at

Re: autotest/package.m4 question [PATCH]

2008-10-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 10/13/2008 5:55 AM: AUTOTEST = $(AUTOM4TE) --language=autotest -$(TESTSUITE): $(srcdir)/testsuite.at +$(TESTSUITE): $(srcdir)/package.m4 $(srcdir)/testsuite.at This looks like a correct dependency (at any rate, GNU

faster m4_qlen

2008-10-16 Thread Eric Blake
While trying to figure out whether m4_curry will be a win or not, I noticed this low-hanging fruit. It dropped the speed of 'autoconf -f' on coreutils from 16.441s to 15.786s (or about 4% improvement). $ autoconf --trace _m4_text_wrap:'$n' | wc -l 882 $ autoconf --trace m4_qlen:'$n' | wc -l

prepare-commit-msg hook for autoconf

2008-10-16 Thread Paolo Bonzini
Here is a prepare-commit-msg hook to make commit messages from ChangeLog entries. Paolo #!/bin/sh # # An example hook script to prepare the commit log message. # Called by git-commit with the name of the file that has the # commit message, followed by the description of the commit # message's