+2005-06-06 Stepan Kasal <kasal@ucw.cz>
+
+ * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
+ * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
+ scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
+
2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
* doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
# or #undef.)
echo '[s,^[ #]*u.*,/* & */,]' >>conftest.defines
-# Break up conftest.defines because some old seds have a limit on number
-# of cmds (HP-UX can take 100 cmds). Subtract the three cmds at the
-# beginning of each fragment.
-ac_max_sed_lines=97
+# Break up conftest.defines:
+ac_max_sed_lines=m4_expr(_AC_SED_CMD_LIMIT - 3)
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"