autoconf-patches
[Top][All Lists]
Advanced

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

FYI: Nesting limit


From: Akim Demaille
Subject: FYI: Nesting limit
Date: 18 Jun 2001 20:20:34 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor)

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
        in $M4.
        Suggested by Andreas Schwab.

Index: autoconf.in
===================================================================
RCS file: /cvs/autoconf/autoconf.in,v
retrieving revision 1.122
diff -u -u -r1.122 autoconf.in
--- autoconf.in 2001/06/02 15:45:32 1.122
+++ autoconf.in 2001/06/18 18:15:10
@@ -105,6 +105,16 @@
 *) 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.
 : address@hidden@}}
 test -z "$AC_ACLOCALDIR" &&



reply via email to

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