Stepan Kasal
1ab31b92c5
A cleanup of the diversion support in m4sugar.
2005-01-03 22:54:21 +00:00
Paul Eggert
2f9bbd9f62
* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
...
Workarounds for documented `case' limitations.
2005-01-03 21:55:00 +00:00
Paul Eggert
23095ccde0
(_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
...
Workarounds for documented `case' limitations.
2005-01-03 21:54:43 +00:00
Paul Eggert
c7a560937c
* doc/autoconf.texi (Limitations of Usual Tools): Warn about
...
sed 'command1;command2'.
2005-01-03 08:32:02 +00:00
Paul Eggert
684f466976
(Limitations of Usual Tools): Warn about
...
sed 'command1;command2'. Problem reported by Ralf Wildenhues.
2005-01-03 08:31:44 +00:00
Paul Eggert
36fab699bd
Add support for C89 vs C99. Update copyright dates.
2005-01-03 07:43:25 +00:00
Paul Eggert
2dd25db670
Regenerate.
2005-01-03 07:42:44 +00:00
Paul Eggert
1deaf6b0b8
Update copyright date to 2005.
2005-01-03 07:40:10 +00:00
Paul Eggert
23ddc41052
Update --version copyright output to 2005.
2005-01-03 07:38:01 +00:00
Paul Eggert
3271f2121a
Patch from Roger Leigh (with some minor changes) as follows:
...
* NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
Resurrect AC_PROG_CC_STDC.
* doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
AC_PROG_CC_C89, AC_PROG_CC_C99.
(Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
* lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
AC_PROG_CC_C99): New macros.
(AC_PROG_CC_STDC): Use them.
(_AC_PROG_CC_STDC): Remove.
(AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
* THANKS: Add Roger Leigh.
2005-01-03 07:35:21 +00:00
Paul Eggert
50b293ba43
Regenerate.
2005-01-02 17:16:49 +00:00
Paul Eggert
8660164d69
* bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
...
signals that the package uses Automake; a `Makefile.am' is typical but
not essential. Reported by Magnus Therning.
* tests/torture.at (autoreconf.): New banner.
(autoreconf and non-AC configure): Rename to `Non-Autoconf
AC_CONFIG_SUBDIRS'.
(autoreconf an empty directory): Rename to `Empty directory'.
(Unusual Automake input files): New test.
2005-01-02 17:15:40 +00:00
Paul Eggert
8cf50071d7
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
...
If the variable to set is already set, set ac_cv_path_$1
to the preset value.
2005-01-02 16:48:44 +00:00
Paul Eggert
348d99e09b
(_AC_FEATURE_CHECK_LENGTH): If the variable to set is already set, set
...
ac_cv_path_$1 to the preset value.
2005-01-02 16:48:12 +00:00
Paul Eggert
778ced2bda
* lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
...
(AT_SETUP): Clear AT_capture_files.
(_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
(AT_KEYWORDS): Fix comment typo.
* tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
* tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
* doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2005-01-01 08:12:12 +00:00
Paul Eggert
ffe3e36dab
Regenerate.
2005-01-01 07:56:16 +00:00
Paul Eggert
fd2691e7e2
Undo unnecessary 2nd part of previous change to m4sh.m4.
2005-01-01 07:54:40 +00:00
Paul Eggert
15e5c5f76f
Undo unnecessary 2nd part of previous change.
2005-01-01 07:54:03 +00:00
Paul Eggert
482ca2652f
Regenerate.
2004-12-29 06:55:11 +00:00
Paul Eggert
d992a7ce41
* BUGS (Minor Problems): Warn about makefile limitations.
...
* Makefile.am: Find and update `INSTALL' in $(srcdir).
* man/Makefile.am: Find and update manual pages in $(srcdir).
2004-12-29 06:54:44 +00:00
Paul Eggert
f79564c323
Regenerate.
2004-12-25 07:53:27 +00:00
Paul Eggert
5ad4560f86
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
...
shells in subshell.
2004-12-25 07:50:01 +00:00
Paul Eggert
07043e79e7
(_AS_DETECT_BETTER_SHELL): Test candidate
...
shells in subshell, to avoid noise from ash. (trivial change)
2004-12-25 07:49:41 +00:00
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