bug-autoconf
[Top][All Lists]
Advanced

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

autotest problems with m4_defun and autoconf-2.64+


From: Mike Frysinger
Subject: autotest problems with m4_defun and autoconf-2.64+
Date: Tue, 1 Dec 2009 19:12:23 -0500
User-agent: KMail/1.12.3 (Linux/2.6.31.4; KDE/4.3.3; x86_64; ; )

i have a package that uses autotest and after upgrading to 2.64, it started 
issuing these errors:

$ autom4te --language=autotest -o testsuite.tmp testsuite.at
testsuite.at:4: error: m4_divert_push: cannot change diversion to `GROW' 
inside m4_expand
testsuite.at:4: the top level
autom4te-2.65: /usr/bin/m4 failed with exit status: 1
make: *** [testsuite] Error 1

the testsuite.at code looks like this:

$ cat testsuite.at
AT_INIT
m4_defun([PCALC_FILESDIR], [$srcdir])
AT_SETUP(001)
AT_CHECK([pcalc @PCALC_FILESDIR/pcalc.001], [0], [ignore])
AT_CLEANUP

if i change the m4_defun to m4_define, then it works fine.  assuming the 
intention is to get people to stop using m4_defun, perhaps it could be done 
with a little more helpful error message ?  i was using m4_defun() in a 
completely different file and erroring on the AT_CHECK() line didnt really 
clue me into the actual source of the problem.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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