Commit Graph

4022 Commits

Author SHA1 Message Date
Paul Eggert
c45b4259c8 (MOSTLYCLEANFILES): Renamed from CLEANFILES.
Add *.tmp.
(autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
ifnames): Factor common code.  And they said it couldn't be done!
2004-12-10 23:56:45 +00:00
Paul Eggert
48ac53c632 Regenerate. 2004-12-10 07:09:51 +00:00
Paul Eggert
04dcf25d6e * bin/.cvsignore: Add autoconf.in.
* tests/.cvsignore: Add wrapper.in.

* man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.

* lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.

* tests/autotest.at: New file.
* tests/suite.at: Include it.
* tests/Makefile.am: Distribute it.

* lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
  shell tracing on a command that could contain multiple lines.
* doc/autoconf.text: Document that fact and its implications.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
* tests/autotest.at (Multiline backquote command substitution,
  Multiline parameter expansion, Literal multiline command,
  Multiline parenthetical command substitution): Remove XFAIL.
2004-12-10 07:08:52 +00:00
Paul Eggert
61966b580a * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes. 2004-12-10 05:00:17 +00:00
Paul Eggert
0fd880d5da (autoconf.1): Regenerate when `autoconf.as' changes. 2004-12-10 05:00:01 +00:00
Paul Eggert
0557a75b76 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
and suggest AC_SEARCH_LIBS.
2004-12-09 21:32:05 +00:00
Paul Eggert
85a424332a (Libraries): Clarify problems with AC_CHECK_LIB
and suggest AC_SEARCH_LIBS.
2004-12-09 21:31:49 +00:00
Paul Eggert
9657d427ac Regenerate. 2004-12-09 21:15:19 +00:00
Paul Eggert
5574d5b7ba * configure.ac (test suite): Cease to generate wrapper scripts.
* configure: Regenerate.
* lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
(m4f_dependencies): Adjust accordingly.
* tests/Makefile.am (Wrappers): Generate wrapper scripts.
(wrapper.in): Generate it in the build directory.
(MAINTAINERCLEANFILES): Delete wrapper.in.
(CLEANFILES): Add wrapper.in.
* tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
the output.  Replace each $as_me with a @wrap_program@.
* tests/wrapper.in: Delete it; we always build it.

* bin/Makefile.am (autoconf.in): Generate it in the build directory.
(EXTRA_DIST): Remove autoconf.in.
(CLEANFILES): Add autoconf.in.
(autoconf): Find autoconf.in in the build directory.
* bin/autoconf.in: Delete it; we always build it.
2004-12-09 21:14:45 +00:00
Paul Eggert
b1d940cc81 Regenerate. 2004-12-09 21:02:41 +00:00
Paul Eggert
c567224651 * lib/autotest/general.m4 (AT_INIT): Replace a tr' with a sed'. Join
PATH members so as to not prepend an empty element.  Move a comment.
* Makefile.am (SUBDIRS): Build in `tests' last.
* tests/Makefile.am (installcheck-local): Add check-local dependencies.
2004-12-09 21:01:37 +00:00
Paul Eggert
dee725cb84 * lib/mdate-sh: Don't use "set - x$ls_command /". 2004-12-08 20:37:41 +00:00
Paul Eggert
8b2ee5023a Don't use "set - x$ls_command /", as zsh mishandles
the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
<http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
2004-12-08 20:34:37 +00:00
Paul Eggert
34fa7e5287 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
patch: extra "-l"s.
2004-12-07 18:23:06 +00:00
Paul Eggert
f60cb694dd (AC_FUNC_GETMNTENT): Fix typo in previous patch: extra "-l"s. 2004-12-07 18:22:45 +00:00
Paul Eggert
8412211d12 Don't use AC_CHECK_FUNCS unless it's going to work. 2004-12-06 21:48:30 +00:00
Paul Eggert
2c239a6336 Fix typo in previous patch. 2004-12-06 21:40:13 +00:00
Paul Eggert
3077af0f26 Add support for UNICOS getmntent. 2004-12-06 21:24:19 +00:00
Paul Eggert
636a864089 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
out the common code to ...
(_AC_DEFINE_Q).
2004-12-05 19:55:44 +00:00
Paul Eggert
c3207b214c (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
out the common code to ...
(_AC_DEFINE_Q): ... a new macro; simplify the condition about the
  value of the #define--default to 1, iff the macro was called
  with exactly one parameter.
2004-12-05 19:55:23 +00:00
Paul Eggert
26fc6c2b61 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use "char c = '\200';". 2004-12-02 21:51:06 +00:00
Paul Eggert
f7e811da5b (AC_FUNC_MEMCMP): Use
"char c = '\200';" rather than "char c = 0x80;" as the
latter doesn't conform to the strict C standard due to
overflow on signed char hosts.
2004-12-02 21:50:46 +00:00
Paul Eggert
b9bc8e0a42 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89. 2004-12-02 20:09:23 +00:00
Paul Eggert
3f92cbd5c3 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
to -qlanglvl=ansi.  We don't want to disable extensions.
2004-12-02 20:09:03 +00:00
Paul Eggert
5af53758da Add Ralf Wildenhues. 2004-11-29 21:44:45 +00:00
Paul Eggert
389b830ea8 Minor rewording to fix problems reported by Ralf Wildenhues. 2004-11-29 21:43:33 +00:00
Paul Eggert
1bf76fd578 (Particular Programs): @code{$PATH} -> @env{PATH}.
(Using Autotest, testsuite Scripts, Writing testsuite.at):
Reword slightly to avoid some English-language problems noted
by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
2004-11-29 21:43:11 +00:00
Paul Eggert
3f0a1ceaad * NEWS: Add ^L above each release. 2004-11-29 21:25:15 +00:00
Paul Eggert
c82b927f72 Add ^L above each release. 2004-11-29 21:24:57 +00:00
Paul Eggert
76da3417c6 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
2004-11-29 04:34:31 +00:00
Paul Eggert
f72fc4eb29 Fix documentation problems reported by Russ Boylan in
<http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
along with some nearby cruft.
* doc/autoconf.texi (Libtool): Libtool can be used without
Automake (not without Autoconf).
(Introduction): Mention lists.gnu.org.
* BUGS: Don't mention bugs.gnu.org.
Remove mention of ancient libtool compatibility problem.
* NEWS: Mention that bugs.gnu.org is kaput.
* README: Likewise.  Mention where mailing list archives can be found.
2004-11-29 04:29:08 +00:00
Paul Eggert
a547bb54a8 Add another []. 2004-11-26 18:45:53 +00:00
Paul Eggert
a9f8c9f48e * doc/autoconf.texi (Pretty Help Strings): Go back to single-quoting 2004-11-26 08:58:50 +00:00
Paul Eggert
3fc8772b35 (Pretty Help Strings): Go back to
single-quoting assignments to cache variables.
2004-11-26 08:58:34 +00:00
Paul Eggert
09158bc896 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Expand $1.
* doc/autoconf.texi (Pretty Help Strings): more fixes
2004-11-23 19:13:33 +00:00
Paul Eggert
cc42f325f9 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
expansion of $1 in the comment emitted to configure.
2004-11-23 19:13:01 +00:00
Paul Eggert
0291d76a4c (Pretty Help Strings): Fix quoting issues
with the examples; fix the bug in MY_ARG_WITH example reported
by Alexandre Duret-Lutz.
2004-11-23 19:11:56 +00:00
Paul Eggert
bbf4de9810 * doc/autoconf.texi (Pretty Help Strings): Fix typo. 2004-11-23 09:01:18 +00:00
Paul Eggert
08626d82b1 (Pretty Help Strings): Fix typo
in my editing of the previous patch.
2004-11-23 09:01:01 +00:00
Paul Eggert
2749e0cd5b * doc/autoconf.texi: Explain overquoting in descriptions. 2004-11-22 23:32:25 +00:00
Paul Eggert
39dc4d1039 (Autoconf Language): Explain that
``descriptions'' may not be double quotes.
(Quotation Rule Of Thumb): Likewise.
(Pretty Help Strings): Likewise; remove the wrong comment;
simplify the examples and improve their quoting.
2004-11-22 23:31:56 +00:00
Paul Eggert
d134956a15 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Move test. 2004-11-16 18:05:25 +00:00
Paul Eggert
28a1a7cc5d (_AC_FEATURE_CHECK_LENGTH): Don't check
the $1_found variable, don't test whether the file is executable;
Both things are checked ...
(_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
the former ``test -f''.
2004-11-14 06:36:01 +00:00
Paul Eggert
37d938763a (_AS_TEST_PREPARE): Fix a typo. 2004-11-14 06:35:21 +00:00
Paul Eggert
7902e0d285 Avoid cp -r. 2004-11-11 00:13:32 +00:00
Paul Eggert
0c8290f52f (Limitations of Usual Tools): Avoid cp -r; use cp -R instead. 2004-11-11 00:13:20 +00:00
Paul Eggert
b518346d1f * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
limitations.
2004-11-10 21:59:55 +00:00
Paul Eggert
e09999cb7f (Limitations of Usual Tools): Note `cp -r'
limitations.  Reorder paragraphs for clarity.
2004-11-10 21:57:40 +00:00
Paul Eggert
9bf04c6b54 * doc/autoconf.texi (Shellology, Special Shell Variables): Document that the Zsh
problem with NULLCMD was fixed in zsh 3.1.6-dev-18.
2004-10-11 21:42:05 +00:00
Paul Eggert
0952c34e3c * doc/autoconf.texi (One-Shot Macros): New node.
Also, wording fixups.
2004-10-11 20:26:01 +00:00