of lack of $LINENO support, then the test will compare the $LINENO
in testsuite vs. the lineno in the test file. This is wrong, of
course.
Be sure to protect it.
Reported by Patrick Welche.
and ac_subst_vars be sh variables containing the list of
AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
DEFAULT diversion.
(_AC_INIT_PREPARE): Use them to log them.
(_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
(AC_SUBST, AC_SUBST_FILE): Instead of buliding the
_AC_SUBST_SED_PROGRAM, store the list of output files/variables in
_AC_SUBST_FILES and _AC_SUBST_VARS.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
Sample Texts sections of the Texinfo 4.2 manual. Most
importantly, this makes sure that the copyright notices appear in
all output formats. You probably need Texinfo 4.2 to generate
the manual now.
Texinfo 4.2 manual. Most importantly, this makes sure that the
copyright notices appear in all output formats. You probably need
Texinfo 4.2 to generate the manual now.
arguments in cases where this matters.
* bin/autoconf.as: Rewrite so that the problem does not come up.
* lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* bin/autoheader.in: Use 'case' statement to work around problem.
* bin/auto4mte.in: Likewise.
* bin/autoreconf.in: Likewise.
* bin/autoscan.in: Likewise.
* bin/autoupdate.in: Likewise.
* bin/ifnames.in: Likewise.
* doc/autoconf.texi (Shell Substitutions): Document the problem.
* lib/autotest/general.m4 (AT_INIT):
Use Zsh alias to work around problem.
* tests/atgeneral.m4 (AT_INIT): Likewise.
* tests/c.at: We can't have zero arguments, so remove workaround
that is not portable to Zsh.
workaround for ${1+"$@"}.
* doc/autoconf.texi (Shell Substitutions): Explain it.
From Oliver Kiddle and Peter Stephenson.
Have M4sh perform minimal shell sanitizing.
* lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
part into...
(_AS_PREPARE): this new macro.
(AS_PREPARE): New.
(AS_INIT): Invoke AS_SHELL_SANITIZE.
* tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
Adjust Autoconf and Autotest.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
Invoke _AS_PREPARE (not AS_PREPARE) in addition to
AS_SHELL_SANITIZE.
Use this M4sh to generate Autoconf's shell scripts.
* tests/wrapsh.as: New, precursor of wrapsh.in.
* tests/Makefile.am: Include lib/freeze.mk to get the dependencies
on Autotest and M4sh.
($(TESTSUITE)): Use $(autotest_m4f_dependencies).
(wrapsh.in): New target.
* bin/autoconf.as: New, precursor of autoconf.in.
(autoconf.in): New target.