For example:

 $ echo 'AC_INIT([changequote], [1.0])' > configure.ac
 $ autoconf --force
 /usr/bin/m4:configure.ac:1: recursion limit of 1024 exceeded, use -L<N> to 
change it
 autom4te: /usr/bin/m4 failed with exit status: 1

and even:

 $ echo 'AC_INIT([perl-changequote-helper], [1.0])' > configure.ac
 $ autoconf --force
 /usr/bin/m4:configure.ac:1: recursion limit of 1024 exceeded, use -L<N> to 
change it
 autom4te: /usr/bin/m4 failed with exit status: 1

Both have been tested with autoconf 2.68, 2.65 and 2.62: the failures
above are always present.

The attached script (to be run in a temporary directory!) should help
generating a list of all builtins that are problematic in this regards.
JFTR, this is the result with autoconf 2.68:

  changecom changequote debugfile define divert divnum errprint eval
  include index len mkstemp popdef pushdef shift sinclude substr syscmd
  sysval traceoff traceon undefine undivert

Regards,
  Stefano

Attachment: foo.sh
Description: application/shellscript

Reply via email to