Commit Graph

4101 Commits

Author SHA1 Message Date
Paul Eggert
8afb8f8e62 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when this is safe.
* lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
* tests/mktests.sh: Likewise.
2005-01-28 21:21:32 +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
Stepan Kasal
23db97463a a typo 2005-01-22 14:59:27 +00:00
Paul Eggert
2d0b9b4b34 * doc/autoconf.texi (Limitations of Builtins): Clarify that
"if test -d foo; ..." is portable.
2005-01-21 19:32:21 +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
c1e9cd093e * doc/autoconf.texi (Limitations of Usual Tools): Document bug
in Solaris 8 join.
2005-01-13 21:03:50 +00:00
Paul Eggert
476d1383c2 (Limitations of Usual Tools): Document bug in Solaris 8 join. 2005-01-13 21:03:11 +00:00
Stepan Kasal
230ad18242 fix a comment and typos 2005-01-06 10:02:45 +00:00
Paul Eggert
6647a89175 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
ulongval to be static.
2005-01-05 14:04:11 +00:00
Paul Eggert
1e77951874 (AC_LANG_INT_SAVE(C)): Declare longval and
ulongval to be static, to avoid unwanted GCC warning.  Problem
reported by Michael Jennings via Daniel Reed; see
<https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
2005-01-05 14:03:06 +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
ae6b40f04e Regenerate. 2005-01-04 23:50:19 +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
Stepan Kasal
dcc0cb5d67 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting. 2005-01-03 23:32:35 +00:00
Paul Eggert
1da9a3526d Regenerate. 2005-01-03 22:54:36 +00:00
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