in $M4.
Suggested by Andreas Schwab.
+2001-06-18 Akim Demaille <akim@epita.fr>
+
+ * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
+ in $M4.
+ Suggested by Andreas Schwab.
+
2001-06-18 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
*) echo "$me: Autoconf requires GNU m4 1.4 or later" >&2; exit 1 ;;
esac
+# Set some high recursion limit as the default limit, 250, has already
+# been hit with AC_OUTPUT.
+case " $M4 " in
+ *" --nesting-limit"* | *" -L"* )
+ # Don't override the user's choice
+ ;;
+ *) M4="$M4 --nesting-limit=1024"
+ ;;
+esac
+
# Variables.
: ${autoconf_dir=${AC_MACRODIR=@datadir@}}
test -z "$AC_ACLOCALDIR" &&
*) echo "$me: Autoconf requires GNU m4 1.4 or later" >&2; exit 1 ;;
esac
+# Set some high recursion limit as the default limit, 250, has already
+# been hit with AC_OUTPUT.
+case " $M4 " in
+ *" --nesting-limit"* | *" -L"* )
+ # Don't override the user's choice
+ ;;
+ *) M4="$M4 --nesting-limit=1024"
+ ;;
+esac
+
# Variables.
: ${autoconf_dir=${AC_MACRODIR=@datadir@}}
test -z "$AC_ACLOCALDIR" &&