Commit Graph

4598 Commits

Author SHA1 Message Date
Ralf Wildenhues
08d4c6bbb7 * lib/Autom4te/FileUtils.pm: Sync from Automake. 2006-04-17 12:17:01 +00:00
Paul Eggert
5863d13f3f * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
use ">&-" since we're only 99.999% sure that this is portable,
and since the MinGW bug is fixed in a different way.
* lib/autotest/general.m4 (AT_INIT): Likewise.

* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
before opening config.log, to avoid hitting a bug on MinGW.
2006-04-17 06:10:50 +00:00
Paul Eggert
5455100eda * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
AS_MESSAGE_LOG_FD before reopening it onto the log file.
This works around a MinGW bug reported by Eric Paire.
Make sure that all writes to the log file append to it,
rather than possibly losing data.
* lib/autotest/general.m4 (AT_INIT): Likewise.
2006-04-15 01:13:32 +00:00
Stepan Kasal
f7b10b57c1 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
description.
2006-04-14 07:05:36 +00:00
Ralf Wildenhues
b9bf6e869d * NEWS: Update. 2006-04-13 07:31:47 +00:00
Ralf Wildenhues
fdd05f06b8 Regenerate. 2006-04-12 23:11:13 +00:00
Ralf Wildenhues
cc1d4f1c52 * configure.ac (AC_INIT): Bump to 2.59d. 2006-04-12 23:08:21 +00:00
Ralf Wildenhues
a86028f0c7 . 2006-04-12 23:03:55 +00:00
Ralf Wildenhues
f9f8eee862 (news-date-check): Require no `*' before the date. 2006-04-12 21:24:56 +00:00
Ralf Wildenhues
d9ccea6f11 Use old date. 2006-04-12 21:20:19 +00:00
Ralf Wildenhues
fc8a324b0c Version 2.59c. 2006-04-12 21:19:27 +00:00
Ralf Wildenhues
b22bba196a Regenerate. 2006-04-12 20:41:46 +00:00
Ralf Wildenhues
8683ec4ff9 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
the instantiated file do not contain the string 'datarootdir'
but contain @datadir@, @docdir@, @infodir@, @localedir@, or
@mandir@, replace the reference '${datarootdir}' by the value.
* tests/torture.at (datarootdir workaround): New test.
* NEWS: Advertise this temporary fixup.
Based on a patch by Bruno Haible, reported and analyzed by
Paul Eggert and Noah Misch.
2006-04-12 20:40:21 +00:00
Ralf Wildenhues
ae4363ca9c Ignore autoconf' and standards'. 2006-04-12 18:56:05 +00:00
Ralf Wildenhues
cd457f3fbc * tests/autotest.at (Debugging a failed test): Fix comment. 2006-04-12 18:55:49 +00:00
Ralf Wildenhues
8ccfe2c599 Regenerate. 2006-04-12 12:26:12 +00:00
Stepan Kasal
b3c78a065b * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
all the changes since 2006-04-07.
2006-04-12 12:20:13 +00:00
Ralf Wildenhues
f05b9c77f0 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
succeeded, but `ln -s file dir' failed, take care to remove the
leftover target before the next test, to prevent its spurious
failure; also make sure `ln file dir' works before selecting it.
Thanks to Keith Marshall for pointing this out.
* THANKS: Update.
2006-04-11 17:34:03 +00:00
Ralf Wildenhues
985a38d751 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
assignments in `at_debug_args', so that we put them correctly
in the `run' script.
* tests/autotest.at (Debugging a failed test): Unmark XFAIL.
Reported by Eric Blake.
2006-04-11 16:09:54 +00:00
Ralf Wildenhues
67fa0de6f4 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
top-level tests after micro-suite has been run.   Used in...
(Debugging a successful test, Debugging script and environment),
(Debugging a failed test): ...these new tests.  The first of these
is fixed by...
* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
macro, split out from...
(AT_INIT): ...here, so that using -d also generates a run script.
Document that -d inhibits top-level logging.
* doc/autoconf.texi (testsuite Invocation): Document that -d only
inhibits top-level logging; debug scripts are created.
2006-04-11 16:06:40 +00:00
Ralf Wildenhues
1eff34d1c3 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
check.
* tests/autotest.at (Empty test, Empty check): New test to check it.
2006-04-11 16:03:28 +00:00
Ralf Wildenhues
4ba7445703 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
from gcc.
2006-04-11 16:02:01 +00:00
Stepan Kasal
e99b067973 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
the files if a problem appears.  Make the empty *.at files
read-only, too.  Proposed by Ralf Wildenhues.
2006-04-10 21:00:40 +00:00
Ralf Wildenhues
0f5caa503e Regenerate. 2006-04-10 20:52:10 +00:00
Ralf Wildenhues
8baafec420 * config/Makefile.am: Add comment to force updated Makefile.in. 2006-04-10 20:51:54 +00:00
Ralf Wildenhues
6d2c0bd7e5 Regenerate. 2006-04-10 20:40:49 +00:00
Ralf Wildenhues
284c40be5c * lib/freeze.mk: Fix typo in comment. Unlike the last, white
space only patch to this file, this patch causes the Makefile.in
files that include freeze.mk to be updated, and thus have a
newer time stamp again, which in turn makes a pristine CVS
checkout have correct time stamps.
2006-04-10 20:40:37 +00:00
Ralf Wildenhues
9957619653 * Makefile.maint (cvs-sv): New macro, to be used..
(config.guess-url_prefix, config.sub-url_prefix)
(texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
point to CVS text checkout of Gnulib files.
(copyright-check): Bump current year.
(announcement): Do not hard-wire `./announce-gen'.
(cvs-update): Propagate failures of `cvs' and `move-if-change'
correctly.
* Makefile.cfg (executable-update): Use `chmod a+x' instead of
`chmod +x'.
(wget_files): Update config.guess, config.sub, texinfo.tex by
`wget-update', now that their URLs work again.
2006-04-10 20:38:17 +00:00
Paul Eggert
18eb7c8e30 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE. 2006-04-10 18:55:27 +00:00
Ralf Wildenhues
16be6790c9 * doc/autoconf.texi: Remove unused words from word list.
* .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
.x-sc_trailing_space: New files.
2006-04-10 18:14:53 +00:00
Ralf Wildenhues
d3a7588793 * doc/standards.texi: Sync from gnulib. 2006-04-10 18:01:47 +00:00
Paul Eggert
1854644bfa Regenerate. 2006-04-10 18:00:31 +00:00
Ralf Wildenhues
bf1cb2ead1 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
`LIBOBJDIR' as experimental.
2006-04-10 17:57:17 +00:00
Ralf Wildenhues
6ca1cfdde2 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
with a target directory; it's internally implemented as `cp'
anyway, but since Autoconf advertises the possibility to use
a target directory when LN_S is `ln -s', we need to find out.
Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
analyzed by Keith Marshall <keith.marshall@total.com>.
2006-04-10 17:55:33 +00:00
Ralf Wildenhues
11634e4715 * THANKS: Update. 2006-04-10 17:51:47 +00:00
Paul Eggert
80c47ff76d * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
confdefs.h as-is.  In general, if it has backslash-newline or the
like, then it doesn't work either to sort or to remove empty
lines.
2006-04-10 09:15:11 +00:00
Stepan Kasal
6a2faa0243 Fix a typo in ChangeLog. 2006-04-09 16:39:10 +00:00
Stepan Kasal
6c5bc727df * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment. 2006-04-09 11:36:08 +00:00
Alexandre Duret-Lutz
22e04a7d35 * lib/autom4te.in (Automake-preselections): Preselect
_AM_SUBST_NOTMAKE.
2006-04-09 07:54:28 +00:00
Paul Eggert
b71ab86dba Use sort -u rather than echo grep sort. 2006-04-09 06:29:28 +00:00
Paul Eggert
92e830d8a0 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
apostrophe within a single-quoted string, as this is the usual
tradition and is easier to read than '"'"'.  Don't rely on the
shell treating "$/" like '$/'.  Use a more-consistent indenting
style for the trap.
2006-04-09 06:22:28 +00:00
Ralf Wildenhues
a6cd888c4f * tests/autotest.at (Backquote command substitution),
(Multiline backquote command substitution): Remove mistaken
AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
applied...
(Parenthetical command substitution, Multiline parenthetical
command substitution): here.
2006-04-09 05:36:45 +00:00
Paul Eggert
e5fa8fb842 Fix typo in changelog entry. 2006-04-08 21:49:32 +00:00
Paul Eggert
309a01c200 Import macros from gnulib (often changing their name).
* NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
The manual mentions Gnulib more prominently.
* doc/autoconf.texi (Gnulib): New node.
(Pointers): Add Gnulib URL.
(Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
(Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
Gnulib section.
(Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
suggest a #define rather than a typedef for _Bool, and mention
Gnulib rather than trying to substitute stdbool code.
(Generic Headers): Add AC_CHECK_HEADERS_ONCE.
(Generic Declarations): Add AC_CHECK_DECLS_ONCE.
(Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
AC_STRUCT_DIRENT_D_TYPE.
(Particular Types): Mention stdint.h and inttypes.h as standard
headers too.
Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T,
AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
(C Compiler): Move AC_C_LONG_DOUBLE to ...
(Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
(Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
(Coding Style).  Don't mention m4_expand_once.
* lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
* lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
(AC_CHECK_FUNCS): Use it.
(AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
(AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
* lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
* lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
(AC_HEADER_ASSERT): New macro.
(AC_HEADER_STDBOOL): Don't assume "#error" works.
Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
Catch a bug in an HP-UX C compiler.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
* lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
(AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
(AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
(AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
(_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
New macros.
2006-04-08 21:46:03 +00:00
Paul Eggert
93324439eb (ac_exclude_list): Fix some typos in
recent changes: awk wants /^(a|b)$/, not /^a|b$/.
2006-04-08 21:44:13 +00:00
Stepan Kasal
70d428506b * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
of the warning introduced by the 2001-08-28 change.
2006-04-08 17:59:56 +00:00
Ralf Wildenhues
72c2e055fe Regenerate. 2006-04-08 09:08:12 +00:00
Ralf Wildenhues
115e3bf448 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
variables shall be overriden by the cache.
* tests/torture.at (AC_ARG_VAR): Test also with a first value
that contains braces.
2006-04-08 09:07:05 +00:00
Ralf Wildenhues
8acf1027fb Regenerate. 2006-04-07 19:02:18 +00:00
Ralf Wildenhues
9e365d1e0b Revert the patch from 2006-04-01 and only improve
_AS_DETECT_BETTER_SHELL:

* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
skip nonexistent directories.
(_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
only shell candidates which exist.
(AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
* lib/autotest/general.m4 (AT_INIT): No need to give three
parameters to _AS_PATH_WALK.
2006-04-07 18:31:09 +00:00