Commit Graph

4060 Commits

Author SHA1 Message Date
Paul Eggert
506530e5f9 * doc/autoconf.texi (Limitations of Builtins) <case>, <read>. 2004-12-22 21:50:28 +00:00
Paul Eggert
4d0e78e46b (Limitations of Builtins) <case>: Mention
problems with SunOS ksh and backslash escaping, Bourne shells and
closing brackets (both within character classes).  Bug reported
against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
<read>: New entry.  Mention non-availability of -r.
2004-12-22 21:50:08 +00:00
Akim Demaille
6834e94321 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
avoid cluttering displayed messages.  Rather, prepend srcdir where
AT_LINE is used for log files.
2004-12-22 13:29:09 +00:00
Stepan Kasal
9655f04da2 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
  no longer part of the macro, quote the occurrence of ``$tmp''.
* doc/autoconf.texi (Forbidden Patterns): Typo.
2004-12-21 14:24:01 +00:00
Akim Demaille
fa96c5a632 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
separated from the test title by forcing a white space.
2004-12-21 12:47:57 +00:00
Akim Demaille
337a92a529 Enable Emacs navigation within testsuite.log files.
* lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
use the compilation mode.
(AT_LINE): Point to the srcdir.
2004-12-21 12:25:08 +00:00
Paul Eggert
5a5aef27e9 Regenerate. 2004-12-20 04:12:52 +00:00
Paul Eggert
ea190d85f1 Pass TESTSUITEFLAGS. 2004-12-20 04:10:21 +00:00
Paul Eggert
0d73fb5e88 (Making testsuite Scripts): Recommend the same
Makefile.am scheme Autoconf now uses.
2004-12-20 04:09:54 +00:00
Paul Eggert
5e33dfcf9a (installcheck-local): Use $(bindir).
(check-local, installcheck-local): Pass TESTSUITEFLAGS.
2004-12-20 04:09:13 +00:00
Paul Eggert
c43ccaee02 Regenerate. 2004-12-19 15:02:56 +00:00
Paul Eggert
b788fb9a74 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
* lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2004-12-19 14:40:36 +00:00
Paul Eggert
20efa599ff Regenerate. 2004-12-19 14:29:19 +00:00
Paul Eggert
1a135aaa8d * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
(_AT_CHECK): Use it.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
(AS_ESCAPE): Fix comment.
* tests/autotest.at: Adjust section banner comments.
(AT_CHECK_AT): Accept STATUS and STDERR.
(AT_CHECK_AT_TEST): Likewise.
(Invalid brace-enclosed parameter expansion)
(Multiline command from M4 expansion)
(Double-M4-quoted command): New tests.
2004-12-19 14:25:56 +00:00
Paul Eggert
68b14fa353 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2. 2004-12-18 00:44:52 +00:00
Paul Eggert
28d48eaadd Update FDL version from 1.1 to 1.2. 2004-12-18 00:44:34 +00:00
Akim Demaille
2e8bb72892 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
m4_pattern_allow.
Suggested by Alexandre Duret-Lutz.
* doc/autoconf.texi (Setting Output Variables): Catch up.
2004-12-17 16:17:18 +00:00
Stepan Kasal
04c2cc1dbc * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment. 2004-12-17 14:41:16 +00:00
Stepan Kasal
bc1b400cc4 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
remove the comment which said we cannot.
2004-12-17 14:36:23 +00:00
Stepan Kasal
bf15a42ad1 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
Reini Urban and Paul Eggert for reporting the dependencies.

* lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
* doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
(AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2004-12-17 14:32:51 +00:00
Stepan Kasal
b26f03d5be * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
so that eg. ``autoscan --help'' doesn't truncate it.
2004-12-17 14:21:50 +00:00
Paul Eggert
e375eee224 Regenerate. 2004-12-15 22:38:08 +00:00
Paul Eggert
632f88fbc0 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove generated
conftest files.
2004-12-15 22:37:46 +00:00
Paul Eggert
bea2437161 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
tracing on commands with possibly-escaped newlines.
* doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
discontinued behavior and its implications.
* tests/autotest.at (BS-newline in command, ^BS-newline in command)
(BSx641-newline in command, BS-BS-newline in command)
(BSx640-newline in command, Newline-CODE-BS-newline in command)
(Single-quote-BS-newline in command)
(Single-quote-newline-BS-newline in command): New tests.
2004-12-14 01:04:25 +00:00
Paul Eggert
3acdd4425b Regenerate. 2004-12-13 18:23:27 +00:00
Paul Eggert
a090c3988a * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
on platforms where it works.
(_AS_TEST_PREPARE): Test for ``test -x''.
(_AS_BROKEN_TEST_PREPARE): Nuke.
2004-12-13 18:22:55 +00:00
Paul Eggert
5d3ad5cb5a * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
  give only 4-letter prefix to AS_TMPDIR, comment fixed.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
  create the temporary directory.
  (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2004-12-13 17:58:03 +00:00
Paul Eggert
498b9c8446 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found. 2004-12-13 07:15:26 +00:00
Paul Eggert
15f90d2e85 Exit if no AC_CONFIG_HEADERS was found. 2004-12-13 07:15:04 +00:00
Alexandre Duret-Lutz
84bb23ef6f * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo. 2004-12-12 11:56:40 +00:00
Paul Eggert
37fb0cb6be Don't use negated character sets. 2004-12-12 09:51:10 +00:00
Paul Eggert
11842a753c (AT_CHECK_SHELL_SYNTAX): Check for negated character sets. 2004-12-12 09:50:40 +00:00
Paul Eggert
4a91f65386 (_AT_CHECK) [--trace]: Rework a shell pattern
to avoid using a negated character class.  Reported by Nicolas Joly.
2004-12-12 09:49:16 +00:00
Paul Eggert
cbf6b73570 Regenerate. 2004-12-11 01:25:43 +00:00
Paul Eggert
ae54798a93 Fix typo in previous checkin. Reported by Alexandre Duret-Lutz. 2004-12-11 01:24:56 +00:00
Paul Eggert
fc0e3f1b60 Regenerate. 2004-12-11 00:01:12 +00:00
Paul Eggert
56f937c296 Simplifications to bin/Makefile.am and man/Makefile.am. 2004-12-10 23:57:42 +00:00
Paul Eggert
8f29c5173b (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
Don't depend on .x file explicitly, since "make" does that for us.
Suggested by Stepan Kasal.
2004-12-10 23:57:19 +00:00
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