+2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
+ Problem reported by Patrick Welche.
+
2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
if 0;
# autom4te - Wrapper around M4 libraries.
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# 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(=[0-9]+)?|-L[0-9]*) /;
# @M4_BUILTIN -- M4 builtins and a useful comment.