The attached patch is necessary as if you set the environment variable M4
to "m4 --nesting-limit=2048", the regexp won't match as there is a '='
rather than a ' ' after nesting-limit.

BTW if even 2048 is too small what could be wrong with my configure
script? (In fact this is apr, at the autoheader stage)

Cheers,

Patrick
Index: autom4te.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autom4te.in,v
retrieving revision 1.95
diff -u -r1.95 autom4te.in
--- autom4te.in 14 May 2005 07:00:39 -0000      1.95
+++ autom4te.in 4 Jul 2005 17:39:02 -0000
@@ -95,7 +95,7 @@
 # Set some high recursion limit as the default limit, 250, has already
 # been hit with AC_OUTPUT.  Don't override the user's choice.
 $m4 .= ' --nesting-limit=1024'
-  if " $m4 " !~ / (--nesting-limit|-L) /;
+  if "$m4" !~ /(--nesting-limit|-L)/;
 
 
 # @M4_BUILTIN -- M4 builtins and a useful comment.
_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to