bug-autoconf
[Top][All Lists]
Advanced

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

Names of m4 builtin cannot be safely used in package name in AC_INIT


From: Stefano Lattarini
Subject: Names of m4 builtin cannot be safely used in package name in AC_INIT
Date: Tue, 15 Mar 2011 10:41:55 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

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

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