Commit Graph

3373 Commits

Author SHA1 Message Date
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
Andreas Schwab
c3e5a58406 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
ac_top_builddir when setting ac_abs_top_builddir.
2002-04-09 11:15:32 +00:00
Kevin Ryde
6e51274002 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
(Portable Shell): Cross reference to Systemology.
2002-04-05 22:29:55 +00:00
Kevin Ryde
c1049ce07d * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
(Portable Shell): Cross reference to Systemology.
2002-04-05 21:40:43 +00:00
Akim Demaille
4ab862fa51 Update. 2002-04-05 13:39:58 +00:00
Akim Demaille
7924a3fc93 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
directories when descending in a SUBDIRS.
Reported by Ezra Peisach.
2002-04-05 09:42:48 +00:00
Akim Demaille
8caecae591 Update. 2002-04-04 15:40:01 +00:00
Akim Demaille
e513dbc760 Update. 2002-04-04 15:33:00 +00:00
Andreas Schwab
193f800800 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
contains no literal separators.
2002-04-04 13:35:05 +00:00
Akim Demaille
19e8fd1915 Update. 2002-04-04 13:25:45 +00:00
Akim Demaille
b7c024b172 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
(_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
Use dnl, not the KILL diversion.
Extracted from...
(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
(AC_CONFIG_LINKS): here.
Adjust.
Don't use the KILL diversion, as it kills spurious output, which
results in failures being hidden.
Use m4_defn where appropriate.
(AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
after the second argument.
Use m4_defn.
* lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
syntax, as it is provided by M4sugar.
* tests/torture.at (Multiple AC_CONFIG_FILES): New.
2002-04-03 13:35:59 +00:00
Andreas Schwab
9dc0d53597 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
expanded if $# <= 2.
2002-04-03 11:11:46 +00:00
Andreas Schwab
70e9cf4bd3 * bin/autoreconf.in (autoreconf): Run automake after rerunning
aclocal.
2002-04-03 10:53:55 +00:00
Akim Demaille
9b7a51e844 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
(_AC_COMPILER_EXEEXT_REJECT): New.
Also recognize *.bb and *.bbg as compilation byproducts.
(_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
(_AC_COMPILER_OBJEXT): Use them.
Fixes Debian #138666.
2002-04-03 09:27:04 +00:00
Akim Demaille
c0660d90e7 Fix. 2002-04-03 09:23:34 +00:00
Peter Eisentraut
931312faea Integrate AC_PROG_CC_STDC into AC_PROG_CC.
* lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
(AC_PROG_CC): Call _AC_PROG_CC_STDC.
(AC_C_INLINE): Do not require AC_PROG_CC_STDC.
(AC_C_CONST): Same.
(AC_C_INLINE): Same.
(AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
* doc/autoconf.texi, NEWS: Document.
* tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
AC_C_CROSS.
2002-04-02 18:22:08 +00:00
Akim Demaille
3aec90e1cb * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
_AS_MKDIR_P_PREPARE.
2002-04-02 15:14:09 +00:00
Kevin Ryde
980c227c4b * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
to avoid versions of HP C which don't allow that.
2002-03-27 22:43:45 +00:00
Paul Eggert
683f07cff1 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
(AS_SHELL_SANITIZE): Invoke it.
(AS_BASENAME): AS_REQUIRE it, and use $as_basename.
2002-03-27 20:34:07 +00:00
Paul Eggert
4f473142a8 (_AS_BASENAME_PREPARE): New macro.
(AS_SHELL_SANITIZE): Invoke it.
(AS_BASENAME): AS_REQUIRE it, and use $as_basename.
2002-03-27 20:33:03 +00:00
Akim Demaille
19105487d4 Update GNATS address. 2002-03-26 16:16:51 +00:00
Akim Demaille
c210364e73 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs. 2002-03-26 09:32:29 +00:00
Akim Demaille
3168ea4c07 * doc/autoconf.texi (Introduction): The GNATS base moved. 2002-03-26 09:19:51 +00:00
Paul Eggert
b9e4790460 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
as POSIX requires, as it doesn't work with Zsh.
* doc/autoconf.texi (Assignments): Document the problem.
2002-03-25 22:03:16 +00:00
Paul Eggert
f07b247b73 Don't rely on "PATH=test:$PATH test-1" working
as POSIX requires, as it doesn't work with Zsh.
2002-03-25 22:02:24 +00:00