Commit Graph

3197 Commits

Author SHA1 Message Date
Akim Demaille
d658e7f3be * doc/autoconf.texi: Mention "set -e -x" lossage
under node "Limitations of Builtins".
2002-04-29 13:35:51 +00:00
Akim Demaille
e00977c735 * doc/install.texi: Better wording for setting variables when
running configure.
From Christian Cornelssen.
2002-04-29 13:33:22 +00:00
Akim Demaille
25a7a663ed * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
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.
2002-04-29 13:29:40 +00:00
Akim Demaille
ee1648fd44 * doc/autoconf.texi (Obsolete Macros): Typo.
Reported by Vladimir Volovich.
2002-04-25 15:32:15 +00:00
Akim Demaille
7928c2ab02 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
than some of the input files, hence, on the second run of aclocal,
if some of its input are younger, make them older.
Suggested by Paul Eggert.
2002-04-25 10:28:01 +00:00
Akim Demaille
21011a0300 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
Thanks to Paul Eggert.
2002-04-25 09:14:39 +00:00
Akim Demaille
ffa9b817ad * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
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.
2002-04-25 08:54:47 +00:00
Akim Demaille
7dc9c2f081 Regen. 2002-04-25 08:54:38 +00:00
Akim Demaille
f401af795d * bin/autoreconf.in (autoreconf): Run automake after autoconf and
autoheader, so that automake does not complain about a missing
config.h.in that was to be created.
2002-04-24 16:28:39 +00:00
Akim Demaille
9376c35c08 * bin/autoheader.in (parse_args): --warning takes an argument.
Fixes PR/220.
2002-04-23 16:59:11 +00:00
Akim Demaille
fd87ebaf1e Regen. 2002-04-23 16:58:42 +00:00
Peter Eisentraut
a8b2c66ea5 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
and bb.out when cleaning up.
2002-04-22 17:05:21 +00:00
Akim Demaille
57fa1a9c1d Update. 2002-04-22 15:49:55 +00:00
Akim Demaille
d2b5e4e883 Bump to 2.53b. 2002-04-22 14:33:05 +00:00
Akim Demaille
dde38fe9d1 . 2002-04-22 14:19:11 +00:00
Akim Demaille
12bec8f5ef Regen. 2002-04-22 13:27:31 +00:00
Akim Demaille
1f1da93834 Fix for Zsh. 2002-04-22 12:18:36 +00:00
Akim Demaille
63b1ec154d Fix for Zsh. 2002-04-22 11:15:35 +00:00
Akim Demaille
3e6f1ca1e0 Remove a spurious comma. 2002-04-22 11:07:26 +00:00
Akim Demaille
01ce11ebfd Version 2.53a. 2002-04-22 10:27:15 +00:00
Akim Demaille
13ad750134 Update. 2002-04-22 10:24:40 +00:00
Akim Demaille
b187b0e2d8 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
Fixes false failures on Darwin.
2002-04-22 10:23:12 +00:00
Akim Demaille
e3bd4560c9 Regen. 2002-04-22 09:10:58 +00:00
Paul Eggert
298b5b57f3 Minor spelling and grammar fixes. 2002-04-21 07:25:20 +00:00
Paul Eggert
62843c4d18 (AT_INIT): Fix typos in yesterday's ZSH_VERSION fixes. Bug reported
by Raja R Harinath.
2002-04-21 06:35:08 +00:00
Paul Eggert
d98cbd21bc (Shell Substitutions): Fix typos in yesterday's ZSH_VERSION fixes.
Bug reported by Raja R Harinath.
2002-04-21 06:34:23 +00:00
Paul Eggert
467a771261 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* tests/atgeneral.m4 (AT_INIT): Likewise.
2002-04-21 06:33:44 +00:00
Paul Eggert
dd756ac977 Minor spelling and grammar fixes. 2002-04-20 06:09:01 +00:00
Paul Eggert
9949452eff * doc/autoconf.texi: Follow the outline suggested in the GNU
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.
2002-04-19 21:23:16 +00:00
Paul Eggert
6d8c182dfb Follow the outline suggested in the GNU 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.
2002-04-19 21:22:50 +00:00
Paul Eggert
e18e20ade9 Fix some bugs when using "$@" when there might be zero positional
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.
2002-04-19 19:08:24 +00:00
Paul Eggert
a4a5fae257 We can't have zero arguments, so remove "$@" workarounds that are not
portable to Zsh.
2002-04-19 19:07:49 +00:00
Paul Eggert
adef0cf29a (AT_INIT): Use Zsh alias to work around "$@" problem. 2002-04-19 19:07:04 +00:00
Paul Eggert
36ff4c803c (AT_INIT): Rewrite one instance so that the "$@" problem does not come up.
Use Zsh alias to work around the other instance.
2002-04-19 19:06:23 +00:00
Paul Eggert
6e2217b6aa (AC_OUTPUT): Rewrite so that the "$@" problem does not come up. 2002-04-19 19:05:01 +00:00
Paul Eggert
297876adf2 (AC_CHECK_PROG): Rewrite so that the "$@" problem does not come up. 2002-04-19 19:04:35 +00:00
Paul Eggert
0fab627bb5 (Shell Substitutions): Document the problem with "$@", the Unix Version 7
shell, and Zsh.
2002-04-19 19:03:37 +00:00
Paul Eggert
d4116a3b2f Use 'case' statement to work around "$@" shell problem. 2002-04-19 18:59:59 +00:00
Paul Eggert
df43014023 Rewrite so that the "$@" problem does not come up. 2002-04-19 18:59:17 +00:00
Jim Meyering
623f24fbd4 Tweak wording in a few places. 2002-04-19 15:23:25 +00:00
Alexandre Duret-Lutz
c38047ab05 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
from aclocal.m4 too.
2002-04-19 08:30:38 +00:00
Akim Demaille
4e44c11d51 Typo. 2002-04-18 10:12:42 +00:00
Akim Demaille
498fec2282 Revert the previous patch. 2002-04-12 10:10:10 +00:00
Akim Demaille
36a73b5656 Reformat. 2002-04-12 10:00:13 +00:00
Akim Demaille
15769d2c6a * tests/wrappl.as: New, M4sh precursor of wrappl.in. 2002-04-12 09:56:10 +00:00
Akim Demaille
fefb4cf5ce Don't use `. ' in node names. 2002-04-11 10:24:22 +00:00
Akim Demaille
ac07b92899 Comment changes. 2002-04-10 17:36:45 +00:00
Akim Demaille
8fe3db26e0 Regen. 2002-04-10 17:32:35 +00:00
Akim Demaille
9d658eddd9 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the 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.
2002-04-10 15:58:19 +00:00
Alexandre Duret-Lutz
b3904626ec * doc/autoconf.texi (Limitations of Make): Mention the issue
with indented comments in rules.
2002-04-09 20:37:10 +00:00