Commit Graph

3620 Commits

Author SHA1 Message Date
Akim Demaille
ff9230c146 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
changes.
* lib/Autom4te/General.pm (&backname): Remove, no longer used by
Autoconf nor Automake.
(&contents): New, from Automake.
PODify.
* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
Remove `#include <stdlib.h>' from the list; we should never
2003-06-02 06:55:03 +00:00
Paul Eggert
3a1b2ca878 * NEWS, doc/autoconf.texi (Particular Functions),
lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
is the inverse of localtime.
2003-05-28 20:03:52 +00:00
Alexandre Duret-Lutz
a4d96919f1 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
(handle_exec_errors): New function.  Work around $! being
altered by WEXITSTATUS.
(xqx, xsystem): Use handle_exec_errors.
2003-05-25 11:02:21 +00:00
Alexandre Duret-Lutz
bc41c779b7 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
Do not call `_exit()', simply modify `$?'.
(xsystem): Reset $! before running system, and check it afterward.
* tests/tools.at (autoupdating AC_PREREQ): Expect exit status
63 for version mismatches.
2003-05-23 18:16:56 +00:00
Akim Demaille
c12a45b703 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
Emacs' danger whitespace.el behavior (smashing "useless" spaces in
the middle of a line).
* lib/m4sugar/m4sugar.m4: Likewise.
Remove useless spaces in comments.
2003-05-23 13:58:06 +00:00
Akim Demaille
172bea7727 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
exit 63, so that we (or Automake's "missing") can tell the
difference with a plain failure.
* doc/autoconf.texi (Notices): Adjust.
2003-05-23 13:14:30 +00:00
Akim Demaille
c17b6fe889 Whitespace change. 2003-05-23 13:13:30 +00:00
Akim Demaille
4c64440ba1 * Makefile.am, bin/Makefile.am, config/Makefile.am,
* doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
White spaces cleanup.
2003-05-23 13:09:28 +00:00
Jim Meyering
b5698c04ad . 2003-05-23 09:37:16 +00:00
Jim Meyering
1512240def (_AC_PROG_CXX_EXIT_DECLARATION):
Remove `#include <stdlib.h>' from the list; we should never
make confdefs.h include <stdlib.h> or <cstdlib>, because the
resulting namespace pollution would cause other tests to fail.
Configure scripts run with some older versions of g++ and HP's
aCC would fail due to such an #include.  Problems reported by
Matthew Mueller in <http://bugs.debian.org/120704> and by
Keith Bostic in
<http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
In the test, use the test declaration before including <stdlib.h>,
as that's closer to how it'll be used.
2003-05-23 09:36:17 +00:00
Akim Demaille
7be200c539 * doc/autoconf.texi (Header Portability): ucred.h.
From Ian Redfern.
2003-05-23 07:14:49 +00:00
Paolo Bonzini
df6cb74cb6 Overhaul Autotest's logging: generate separate log files
in testsuite.dir/NNN/testsuite.log, and append them to
testsuite.log instead of re-running the test verbosely.
Adapt documentation.  Update NEWS to signal possible bad
interactions between -x and experr.
2003-05-22 21:52:43 +00:00
Paolo Bonzini
2f7d336646 * lib/m4sugar/m4sh.m4: actually use the 2nd parameter to AS_REQUIRE 2003-05-22 21:39:45 +00:00
Akim Demaille
ebf56a4251 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
* lib/autoconf/fortran.m4 lib/autoconf/general.m4
* lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
* lib/autoconf/status.m4: Fix and adjust copyright notices.
2003-05-22 15:17:05 +00:00
Akim Demaille
3cb00cdb8b * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
* lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
* lib/autoconf/c.m4, lib/autoconf/fortran.m4,
* lib/autoconf/general.m4, lib/autoconf/headers.m4,
* lib/autoconf/lang.m4, lib/autoconf/libs.m4,
* lib/autoconf/programs.m4, lib/autoconf/specific.m4,
* lib/autoconf/status.m4, lib/autoconf/types.m4,
* lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
* tests/atspecific.m4, tests/base.at, tests/compile.at,
* tests/foreign.at, tests/m4sh.at, tests/semantics.at,
* tests/tools.at, tests/torture.at:
Whitespace clean up.
Suggested by Jim Meyering.
2003-05-22 13:24:04 +00:00
Akim Demaille
b9cff516d2 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
' t' as 't ' so that Emacs' whitespace.el keep it.
Reported by Jim Meyering.
2003-05-22 08:24:04 +00:00
Akim Demaille
5958ce1756 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
Add AC_HELP_STRING  to the obsolete macros section.
Typos.
Use '@.' for sentences that ended in a capital letter.
From Art Haas.
2003-05-22 07:43:49 +00:00
Akim Demaille
18ca9ab3ec * config/config.guess, config/config.sub, config/elisp-comp,
* config/install-sh, config/mdate-sh, config/mkinstalldirs,
* config/texinfo.tex, doc/standards.texi: Update from masters.
2003-05-22 07:37:43 +00:00
Paolo Bonzini
f16c8d206e * lib/m4sugar/m4sh.m4: protect RHS of AS_VAR_SET against expansion of
quotes (it is delayed to after the eval).
2003-05-21 19:04:41 +00:00
Akim Demaille
e808ba2ea7 * bin/autoupdate.in ($m4): Fix quotation.
Reported by Martin Mokrejs.
2003-05-21 09:46:59 +00:00
Paul Eggert
c6077abc32 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
Remove non-ASCII characters.
2003-05-19 18:16:57 +00:00
Paul Eggert
68a50ebf5f Update copyright date. 2003-05-19 18:15:37 +00:00
Paul Eggert
80822676bf Use only ASCII characters. 2003-05-19 18:14:25 +00:00
Paul Eggert
e699991423 Remove non-ASCII characters. 2003-05-19 18:13:54 +00:00
Paul Eggert
fc112634a7 Fix ASCII spellings of Mokrejs and Ruediger. 2003-05-19 18:12:36 +00:00
Paolo Bonzini
848e929771 2003-05-17 Paolo Bonzini <bonzini@gnu.org>
* ChangeLog: add entry for change to tests/semantics.at
2003-05-18 14:51:15 +00:00
Paolo Bonzini
27dead0aa7 2003-03-05 Paolo Bonzini <bonzini@bogus.example.com>
* tests/semantics.at (AC_SEARCH_LIBS): New test.
	* tests/semantics.at (AC_CHECK_HEADERS_OLD,
        AC_CHECK_HEADERS_NEW): New tests.
2003-05-18 14:48:02 +00:00
Akim Demaille
b44e483cec * lib/autoconf/functions.m4: Use the default includes so that
memcmp be declared before being tested.
Reported by Sander Niemeijer.
(AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
* doc/autoconf.texi (Default Includes): Document
AC_INCLUDES_DEFAULT.
2003-05-17 10:30:07 +00:00
Akim Demaille
d8711f0660 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
* doc/autoconf.texi (Obsolete Macros): Adjust.
Reported by Werner LEMBERG and Debian Bug 190886.
2003-05-17 09:44:22 +00:00
Akim Demaille
8624a70899 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
user name space clashes.
Reported by Bruno Haible.
2003-05-16 09:59:15 +00:00
Akim Demaille
62930d7b99 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
* bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
them uniform, and more robust to Perl special characters.
Reported by Martin Mokrej.
2003-05-16 09:54:46 +00:00
Akim Demaille
46237304df * tests/foreign.at (Libtool): Skip all Libtools pre 1.4. 2003-05-14 08:34:10 +00:00
Akim Demaille
c61f289486 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
linux/irda.h.
2003-05-14 08:29:04 +00:00
Akim Demaille
cfd3199b2b Typo. 2003-05-14 07:54:49 +00:00
Akim Demaille
7d666fb9b8 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h. 2003-05-14 07:53:12 +00:00
Akim Demaille
e84abe67d4 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
message.
From Matthias Andree.
2003-05-12 14:48:19 +00:00
Alexandre Duret-Lutz
d92c2a7a88 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
and truncate.
2003-05-07 06:51:23 +00:00
Akim Demaille
d2869a3180 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
longer updates aclocal.m4 if useless, (ii) if a file m4_included
by aclocal.m4 is changed it might require the importing of another
m4 extension file, i.e., aclocal must be run.
* bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
(&parse_args): Use --force with aclocal if required and supported.
(&autoreconf_current_directory): Use &run_aclocal.
2003-05-06 15:07:59 +00:00
Akim Demaille
db4f0f52c0 Lock autom4te's cache.
* lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
* bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
argument instead of a file name, so that the request file remains
open during the whole autom4te run.
($icache_file): New.
(&freeze): Lock the $icache_file.
2003-05-06 08:51:21 +00:00
Akim Demaille
f2da1c1ca5 Regen. 2003-05-06 07:17:42 +00:00
Akim Demaille
0dc799f050 Regen. 2003-05-06 07:04:42 +00:00
Derek Price
4ca6566c2c * lib/emacs/.cvsignore: Add generated elc-stamp file. 2003-05-05 14:54:10 +00:00
Derek Price
044418223e * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
seperator with m4_append_uniq().  It doesn't work.
(AT_CLEANUP): Add `;' to end of at_help_all.
(AT_INIT): Allow --keywords to be specified more than once.  When
grepping $at_help_all for keywords, use the field and keyword
seperators to ensure a complete keyword match.  Alter at_prev handling
to support the new --keywords behavior.
2003-04-29 20:54:12 +00:00
Paul Eggert
d481daa077 2003-04-27 Karl Berry <karl@freefriends.org>
* doc/autoconf.texi: Make the dir entries in the autoconf manual
align better with others.
2003-04-28 06:24:52 +00:00
Paul Eggert
8537f7f48b Make the dir entries in the autoconf manual align better with others.
I also made some of the individual entries on one line, for brevity
and to make it easier for me to sort my dir-example file in the
Texinfo distribution :).
2003-04-28 06:24:13 +00:00
Paul Eggert
898de2cdb9 (AC_C_RESTRICT): Fix comment to match code. 2003-04-14 03:47:30 +00:00
Jim Meyering
aac4b9c476 regenerate 2003-04-12 20:55:52 +00:00
Jim Meyering
fb8038feda * NEWS: Mention the new macro.
* lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
	* doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
	* tests/c.at: Test AC_C_RESTRICT.
	* tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
2003-04-12 20:55:15 +00:00
Jim Meyering
394fe1edb6 (ac_exclude_list): Add exclusion for AC_C_RESTRICT. 2003-04-12 20:53:49 +00:00
Jim Meyering
d732e060a4 (C Compiler): Describe AC_C_RESTRICT. 2003-04-12 20:53:33 +00:00