Commit Graph

4629 Commits

Author SHA1 Message Date
Paul Eggert
04e292eda5 * doc/autoconf.texi: Use @option systematically. 2006-05-03 00:36:32 +00:00
Paul Eggert
30f1f062e5 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
about 'od'.
2006-05-03 00:30:23 +00:00
Ralf Wildenhues
99ff5f6603 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
traditional shells like the Solaris one that do not use the
first IFS character for assembling `$*'.
Prompted by a related report from autoconf_bug@nro.ca.
2006-05-02 20:09:24 +00:00
Paul Eggert
fe4647b2d0 Fix typo in previous checkin. 2006-05-02 03:20:26 +00:00
Paul Eggert
b5ade1c2b2 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
Mention more problems with the -e option.
2006-05-01 17:35:50 +00:00
Ralf Wildenhues
100f26c15e Supplement 2.59c release ChangeLog entry:
* Makefile.maint (news-date-check): Do not require a leading `*'
before the release date in NEWS.
2006-05-01 09:01:32 +00:00
Ralf Wildenhues
7a77927133 * NEWS: Typo.
* doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2006-04-30 17:06:13 +00:00
Ralf Wildenhues
9d056f239b * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
in URLs to improve DVI formatted output (requires texinfo 4.6).
(System Services, Systemology, Shellology): Likewise.
(Limitations of Usual Tools): Rewrite Mac OS X example for nicer
output.
2006-04-30 17:05:05 +00:00
Ralf Wildenhues
2775732faa * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
continuous text.
(Runtime): Fix macro argument names to match description:
`action-if-found' -> `action-if-true' and similarly.
(Obsolete Macros): Likewise.
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
(AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
(AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2006-04-30 17:04:06 +00:00
Ralf Wildenhues
c8fa79da58 Add missing word in my ChangeLog entry. 2006-04-29 17:33:26 +00:00
Ralf Wildenhues
85cdefd01e * doc/autoconf.texi (Limitations of Make): Clean up markup. 2006-04-29 06:24:23 +00:00
Ralf Wildenhues
42388b3835 * ChangeLog: Typo.
* doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
DVI output.
2006-04-29 06:23:15 +00:00
Ralf Wildenhues
75bef14d20 Regenerate. 2006-04-28 04:18:00 +00:00
Ralf Wildenhues
16562b36b8 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
/bin/sh set unsorted output.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
* tests/local.at
2006-04-28 04:17:51 +00:00
Paul Eggert
12f2dd2d7f * doc/autoconf.texi (Portable C and C++, Varities of Unportability):
(Integer Overflow, Null Pointers, Buffer Overruns):
(Floating Point Portability, Exiting Portably): New sections.
(Writing Test Programs): Fix some langauge.  Recommend exiting
with status 1, not merely nonzero.  Clarify exit declaration.
(Run Time): Move C exit status stuff to new Exiting Portably section.
(Systemology): Mention Posix and levenez.  Update v7 reference.
(Portable Shell): Mention the Posix shell.
2006-04-26 20:30:54 +00:00
Stepan Kasal
cdea180452 * bin/autoconf.as (me): Replace by as_me. 2006-04-25 12:57:28 +00:00
Paul Eggert
a87d7437dc * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
since as_me isn't set yet.
2006-04-25 12:27:45 +00:00
Ralf Wildenhues
e038ec38f0 Regenerate. 2006-04-25 07:04:20 +00:00
Paul Eggert
9aed71b2ec Undo many of the recent changes, substituting these instead:
* doc/autoconf.texi (Programming in M4sh): Comment out the
documentation of AS_BASENAME, for now.
(Shell Substitutions): Do not use AS_DIRNAME in an example.
(Limitations of Builtins) <basename>: Do not refer to
AS_BASENAME.
* bin/autoconf.as (me): Don't use AS_BASENAME.
(dir): Remove the unused variable.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
AS_DETECT_REQUIRED.  All uses changed.
(_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
All uses changed.
(_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
(AS_BASENAME): Use "basename --" to protect against leading "-".
(_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
(_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
(_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
(_AS_DIRNAME_PREPARE): Likewise.
(_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
(_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
(AS_DIRNAME): Use "dirname --".
2006-04-24 19:36:01 +00:00
Paul Eggert
a6e40381c6 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
of "run time" and "run-time" changed to "runtime", for consistency.
* lib/autoconf/fortran.m4: Likewise (in comment).
* lib/autoconf/functions.m4: Likewise.
* lib/autoconf/general.m4: Likewise.
* lib/autoconf/headers.m4: Likewise.
2006-04-24 06:51:53 +00:00
Paul Eggert
07a83b434a * doc/autoconf.texi (Run Time): Document the exit status situation
with more accuracy and detail.
2006-04-24 05:54:54 +00:00
Paul Eggert
df797abaf3 * NEWS: Remove mention of AS_VAR_SET_BASENAME and AS_VAR_SET_DIRNAME.
* doc/autoconf.texi (Programming in M4sh): Remove mention of
AS_VAR_SET_BASENAME, AS_VAR_SET_DIRNAME, and AS_BASENAME.
We have to keep AS_DIRNAME since it was part of a stable Autoconf,
but AS_BASENAME doesn't have to be supported.
2006-04-23 08:41:06 +00:00
Paul Eggert
24a8c2d4a5 * NEWS: Update wording to say merely "should" for AS_DIRNAME
and AS_BASENAME.
* lib/m4sugar/m4sh.m4 (AS_BASENAME, AS_DIRNAME): Bring these
back, albeit undocumented.  Programs now have a grace period
to switch to AS_VAR_SET_DIRNAME and AS_VAR_SET_BASENAME.
2006-04-23 08:13:43 +00:00
Ralf Wildenhues
44635be039 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
Archive is not officially `GNU' any more.  Update URL.
(Defining Directories): Likewise
* lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2006-04-23 07:13:52 +00:00
Paul Eggert
57cd2fba6e Regenerate. 2006-04-23 06:50:11 +00:00
Paul Eggert
52d54c54e3 * NEWS: Remove AS_DIRNAME and AS_BASENAME, replacing them with
AS_VAR_SET_DIRNAME and AS_VAR_SET_BASENAME.
* doc/autoconf.texi (Programming in M4sh): Document this.  All uses
changed.  The newer interfaces are more reliable, as they allow
implementations that handle trailing newline correctly.  For now,
we're in a freeze, so I did not include the more-reliable
implementations, but I wanted to correct the interface before 2.60
goes out.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
AS_DETECT_REQUIRED.  All uses changed.
(_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
All uses changed.
(_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
(_AS_BASENAME): Renamed from AS_BASENAME.  All uses changed.
Use "basename --" to protect against leading "-".
(_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
(_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
(_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
(_AS_DIRNAME_PREPARE): Likewise.
(_AS_DIRNAME): Renamed from AS_DIRNAME.  All uses changed.
(_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
(_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
Use "dirname --".
(AS_VAR_SET_BASENAME, AS_VAR_SET_DIRNAME): New macros.
* tests/m4sh.at (AS_VAR_SET_DIRNAME): Renamed from AS_DIRNAME.
Test the new API.  Don't test internals, since they're probably
going to change anyway.
(AS_VAR_SET_BASENAME): Likewise, renamed from AS_BASENAME.

* bin/autoconf.as: Don't use AS_BASENAME or AS_DIRNAME.  This
removes a bootstrapping problem with the changes described above.
The AS_DIRNAME part wasn't used, anyway, and the AS_BASENAME
part can be done portably without all the deep Autoconf magic.
2006-04-23 06:49:53 +00:00
Paul Eggert
1ff7d219b1 Regenerate. 2006-04-19 18:16:51 +00:00
Paul Eggert
c10c1a2bf6 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
newline from the `trap' code to finish `config.log'; the NetBSD
/bin/sh resets the exit status after an empty command, as
documented in doc/autoconf.texi.
2006-04-19 18:16:36 +00:00
Ralf Wildenhues
3486fd9dad Regenerate. 2006-04-19 08:02:45 +00:00
Paul Eggert
c324410a51 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF. 2006-04-19 07:10:13 +00:00
Paul Eggert
ba7e90baf4 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
Instead, just list the shells that we know work.
* tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg.  All uses
changed.  Be more cautious about the _cv_ variable.
* tests/tools.at (Syntax of the shell scripts): Check the
_cv_ variable once, at first, to avoid an internal autoconf error
when sh -n does not work.
2006-04-19 04:13:48 +00:00
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