Commit Graph

1110 Commits

Author SHA1 Message Date
Paul Eggert
ec55ba03f3 (Limitations of Usual Tools): New mkstemp entry. Based on a
suggestion by Bruno Haible.
2005-02-05 00:11:43 +00:00
Paul Eggert
4f6ba2b9e4 (Special Shell Variables): Mention _,
BIN_SH, DUALCASE.  Say that variables other than "status" are safe
if they contain a lower-case letter.
2005-02-03 00:31:33 +00:00
Paul Eggert
fda63f71a7 (Limitations of Usual Tools): Unicos 9 sed limitations. 2005-02-02 23:47:34 +00:00
Paul Eggert
c39e71de53 (autoreconf Invocation): Mention autopoint, with a cross reference. 2005-02-01 20:43:42 +00:00
Paul Eggert
5ed6babbee Regenerate. 2005-02-01 00:59:56 +00:00
Paul Eggert
8586046471 Fix typo: empty example. 2005-02-01 00:36:24 +00:00
Paul Eggert
f90f3a857d (config.status Invocation): Warn about
discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
2005-02-01 00:33:08 +00:00
Paul Eggert
3a397dcbfe (Defining Variables): Warn about CONFIG_SHELL problems. 2005-02-01 00:32:44 +00:00
Paul Eggert
8cc997c106 * doc/make-stds.texi, doc/standards.texi: Update from masters. 2005-02-01 00:02:49 +00:00
Paul Eggert
29b673d8ab (Limitations of Usual Tools): Recommend X
rather than x for expr.
2005-01-28 21:55:57 +00:00
Akim Demaille
cdd416b0fe Have autoheader honor --force.
* doc/make-stds.texi, doc/standards.texi: Update from masters.
* lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
* lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
from masters, so that FileUtils.pm's update_file provide --force
support.
* bin/autoheader.in: Pass $force to update_file so that
config.h.in is always recreated when --force.
2005-01-27 10:53:41 +00:00
Stepan Kasal
4c98943ec6 update Peter Simons' address 2005-01-24 12:24:01 +00:00
Paul Eggert
f2741f70c7 (Limitations of Builtins): Clarify that
"if test -d foo; ..." is portable.  Suggested by Stepan Kasal.
2005-01-21 19:31:51 +00:00
Paul Eggert
d01f64e300 (Shell Substitutions): Fix typo in case statement.
Warn about newline stripping in `` and $().  Update Solaris
version to 9.
(Limitations of Builtins): Use expr "X...", not expr "x...", as
X insulates us from future changes to Posix.
(Limitations of Usual Tools): For AS_DIRNAME, warn about newline
stripping.
2005-01-21 00:03:40 +00:00
Stepan Kasal
4c38a43946 fix AC_DEFINE documentation 2005-01-20 10:59:55 +00:00
Paul Eggert
476d1383c2 (Limitations of Usual Tools): Document bug in Solaris 8 join. 2005-01-13 21:03:11 +00:00
Alexandre Duret-Lutz
cebb4afe8c * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
datadir, infodir, and mandir.  Adjust argument parsing code.
(_AC_INIT_HELP): Update help text.
* doc/autoconf.texi (Installation Directory Variables): Document
new variables.
2005-01-05 07:53:52 +00:00
Paul Eggert
ef8419581f * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
not seem to work, assume it does set $(MAKE).
* doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2005-01-04 23:50:00 +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
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
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
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
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
Paul Eggert
5a5aef27e9 Regenerate. 2004-12-20 04:12:52 +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
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
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
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
Alexandre Duret-Lutz
84bb23ef6f * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo. 2004-12-12 11:56:40 +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
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
b1d940cc81 Regenerate. 2004-12-09 21:02:41 +00:00
Paul Eggert
3077af0f26 Add support for UNICOS getmntent. 2004-12-06 21:24:19 +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
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
3fc8772b35 (Pretty Help Strings): Go back to
single-quoting assignments to cache variables.
2004-11-26 08:58:34 +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
08626d82b1 (Pretty Help Strings): Fix typo
in my editing of the previous patch.
2004-11-23 09:01:01 +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
0c8290f52f (Limitations of Usual Tools): Avoid cp -r; use cp -R instead. 2004-11-11 00:13:20 +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
1d037b8bc3 (One-Shot Macros): New node. 2004-10-11 20:25:41 +00:00
Paul Eggert
da2e3449b6 Standardize spelling of "Posix" (as opposed
to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
variants", "Unix", and some related minor wording fixups.
2004-10-11 20:21:33 +00:00
Paul Eggert
5695b04ab9 (Function Portability): Fix misdescription
of putenv.  Problem reported by Michael Wardle.
2004-09-28 17:21:52 +00:00
Paul Eggert
2d34ae33a0 (auindex): New macro.
(AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
Problem reported by Stepan Kasal.
2004-09-22 18:05:01 +00:00
Paul Eggert
cb240d8430 Give AC_DEFINE and AC_DEFINE_UNQUOTED
three args in examples.  Problem reported by Frederik Fouvry in:
http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
Also, fix some minor spacing and punctuation bugs.
2004-09-04 04:51:58 +00:00