Commit Graph

3543 Commits

Author SHA1 Message Date
Paul Eggert
516266bbcc Work around a problem noted by Nelson H. F. Beebe with coreutils
4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
2002/05/09) rejects '#line 32768 "configure"' because the line
number overflows.
2003-03-06 20:41:34 +00:00
Paul Eggert
21b4c7ddbd (Generating Sources): Document that we no longer generate #line directives. 2003-03-06 20:39:55 +00:00
Paul Eggert
db668becd8 Do not generate #line directives (comment fix only). 2003-03-06 20:37:50 +00:00
Paul Eggert
6f8cbd236a (AC_LANG_SOURCE(C)): Do not generate #line directives. 2003-03-06 20:35:23 +00:00
Richard Dawe
6f70f697f9 tests/atspecific.m4: Normalize the file name for the m4 program,
when it has an "exe" file extension. DJGPP's error messages include
the error code in brackets - remove the error code during normalization.
2003-03-03 20:13:50 +00:00
Akim Demaille
b473dc2a62 * doc/autoconf.texi (Present But Cannot Be Compiled): New. 2003-02-28 10:46:19 +00:00
Alexandre Duret-Lutz
4b50bd89ef * doc/autoconf.texi (Limitations of Make): Remove the section
about `$<' in inference rules, it was a bogus interpretation of
an old Automake change.  Discuss NetBSD, FreeBSD, OpenBSD, and
Tru64 make in the "target lookup" section.
(Automake): Automake 1.5+ no longer requires special tools to be
present on the developer's host.
2003-02-28 10:15:47 +00:00
Akim Demaille
f6f77d7b72 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
to a shell that can handle redirection or quoting correctly.
Override SHELL with the shell detected by configure.
Use of $^O suggested by Tim van Holder.
* bin/autom4te.in (BEGIN): Likewise.
* bin/autoreconf.in (BEGIN): Likewise.
* bin/autoscan.in (BEGIN): Likewise.
* bin/autoupdate.in (BEGIN): Likewise.
* bin/ifnames.in (BEGIN): Likewise.
* bin/ifnames.in: Add final newline to help and version messages.
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
to cope with DOS-style absolute paths, when constructing
${ac_make}.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
When constructing paths with IFS=:, quote the path. If we're
constructing a DOS-style absolute path, we don't want to split it
on the colon.
* tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
in description.
2003-02-28 10:11:07 +00:00
Pavel Roskin
5e7f0f99ed * bin/autoheader.in: Add missing newline when printing
suggestion how change AC_DEFINE call.
2003-02-25 23:20:21 +00:00
Paul Eggert
4165072ca1 Give credit to Jeff Painter for yesterday's bug report. 2003-02-25 18:19:37 +00:00
Paul Eggert
5a747da1c3 Fix a couple of "test -n" typos by replacing them with "test -z". 2003-02-25 06:46:04 +00:00
Paul Eggert
c127caba1e (Shell Substitutions): test -n -> test -z,
to fix a mismatch between example and discussion.
2003-02-25 06:45:37 +00:00
Paul Eggert
36685d590f (AS_SHELL_SANITIZE): Fix typo in
2002-09-01 patch by replacing "test -n" with "test -z".
This fixes a bug reported by Tom Epperly in
<http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
2003-02-25 06:45:05 +00:00
Kevin Ryde
32aec35596 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
format starting with "-".
2003-02-23 23:00:02 +00:00
Alexandre Duret-Lutz
e547c06fa2 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
is not portable inside Makefile.
2003-02-20 17:19:55 +00:00
Akim Demaille
13984e2d07 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
compiler says yeah, but preproc says nope, compiler is right.
Conversely, prompt the reader to send a bug report to the
maintainers of the package, not of Autoconf.
2003-02-20 17:15:47 +00:00
Akim Demaille
9bbb516751 * bin/autoreconf.in (autoreconf_current_directory): Properly
handle an empty aclocal.m4.
2003-02-20 17:04:10 +00:00
Akim Demaille
94a099a5ff Regen. 2003-02-20 16:57:46 +00:00
Akim Demaille
0a59c6b0dd * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
$ac_prefix_program.
From Larry Jones.
2003-02-20 16:52:10 +00:00
Paul Eggert
6ae8254469 Update the URL for the LFS paper to unix-systems.org instead of sas.com. 2003-01-14 17:53:11 +00:00
Paul Eggert
5908a764de * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
innocuous variant befor including <limits.h> or <assert.h>.
2002-12-24 00:17:24 +00:00
Paul Eggert
50a791a2fa (AC_LANG_FUNC_LINK_TRY(C)): Deine $1 to an
innocuous variant befor including <limits.h> or <assert.h>.
This works around a bug reported by Albert Chin: HP-UX 11i
(and earlier versions) have a <limits.h> that declares
gettimeofday and many other functions.
2002-12-24 00:16:41 +00:00
Paul Eggert
41cc02ab2b Bump to 2.57a. 2002-12-04 05:58:57 +00:00
Paul Eggert
0b8175239b Install Martin Frydl's patch from
<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>.
2002-12-03 08:34:30 +00:00
Paul Eggert
689196647b (at_flatten): rewritten to avoid M4 problem when
\(.*\) match is too long and there is something more to be checked.
<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>

This also undoes the previous patch.
2002-12-03 08:30:12 +00:00
Paul Eggert
4b63b9f8a8 Add Martin Frydl. 2002-12-03 08:23:53 +00:00
Paul Eggert
934fc7e269 Regenerate. 2002-12-03 08:03:07 +00:00
Paul Eggert
8e884317d9 Version 2.57. 2002-12-03 07:59:21 +00:00
Paul Eggert
6745f8efa3 Sync with external sources. 2002-12-03 07:58:02 +00:00
Paul Eggert
53877b5fba (www-gnu): New macro.
(standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
the location has moved.
2002-12-03 07:44:38 +00:00
Paul Eggert
435ae55681 (Obsolete Macros): Fix typos (insert empty
arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
obsolete AC_CHECK_TYPE.
2002-12-03 07:35:31 +00:00
Paul Eggert
44a8557edb Upgrade to FDL 1.2. 2002-12-03 07:27:51 +00:00
Paul Eggert
2c9f4bf3aa (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
nontrivially in main's body, so that f's external declaration is
not optimized away in AIX.  This should fix the bug reported by
Martin Frydl in
<http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
2002-12-03 07:00:37 +00:00
Paul Eggert
1ebbbb55ff (handle_traces): [^ *\(.*\) *$] ->
[^ *\(.*[^ ]\)? *].  The old regular expression was obviously wrong,
and it blunders into a GNU m4 bug as noted by Martin Frydl in
<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>.
2002-12-03 06:51:15 +00:00
Akim Demaille
55a802a1d5 . 2002-11-15 10:25:13 +00:00
Akim Demaille
c1640cd3d9 Version 2.56.
* config/install-sh: chmod +x.
From Paul Eggert.
* config/move-if-change: Indenting changes.
* Makefile.am (AUTOMAKE_OPTIONS): Move to...
* configure.ac (AM_INIT_AUTOMAKE): here.
Require 1.7.1.
2002-11-15 09:17:30 +00:00
Akim Demaille
adbbc0e9fc . 2002-11-14 18:41:52 +00:00
Akim Demaille
9ac168dc89 Use Automake 1.7.1. 2002-11-14 17:37:45 +00:00
Akim Demaille
c95cfec7a0 Version 2.55.
* config/config.guess, config/config.sub, config/install-sh:
Update from masters.
2002-11-14 11:34:13 +00:00
Akim Demaille
29a5451ab4 * Makefile.maint: Sync with Bison, i.e.:
(po-check): Scan .l and .y files instead of the
.c and the .h files that they generate.  This fixes the bug
reported by Tim Van Holder in:
<http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
Look for N_ as well as for _.  Try to avoid matching #define for
N_ and _.
From Paul Eggert.
2002-11-14 11:16:01 +00:00
Akim Demaille
b37eb00d76 * doc/autoconf.texi (C Compiler): Compiling several files at once.
From Paul Eggert and Albert Chin-A-Young.
2002-11-14 08:42:39 +00:00
Akim Demaille
4aa948e894 * doc/autoconf.texi (C Compiler): Solitary backslashes.
From Paul Eggert and Albert Chin-A-Young.
2002-11-14 08:17:46 +00:00
Kevin Ryde
ce95d6a9dc * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
than assigning in main, to avoid HP cc +O3 optimizing it away.
2002-11-13 23:34:07 +00:00
Akim Demaille
77f69ee45e * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
option.  Process --recheck after parsing all options.  Pass -q
option to configure on --recheck.
(AC_OUTPUT): Pass -q from configure to config.status.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
arguments to record.
* doc/autoconf.texi (config.status Invocation): Document
config.status -q option.
2002-11-12 10:54:44 +00:00
Akim Demaille
ba8d11964a 2.54d. 2002-11-07 14:28:57 +00:00
Alexandre Duret-Lutz
020483fc8e * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
Makefile.in if Makefile.am exists.
(output): Strip `.am' from Makefiles.  Don't
output AC_CONFIG_FILES if no Makefiles were found.
2002-11-07 14:11:31 +00:00
Akim Demaille
dddee0d248 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
(local_updates): New.
* Makefile.maint: Update, from CVS Bison.
(local_updates): New.
2002-11-07 14:03:41 +00:00
Akim Demaille
34afd91665 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
declaration in extern "C" too.
Reported by Roberto Bagnara.
2002-11-06 14:01:49 +00:00
Akim Demaille
4b63001766 * tests/torture.at (Configuring subdirectories): Don't use grep
-w.
* doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
Reported by Ezra Peisach.
2002-11-06 10:29:21 +00:00
Paul Eggert
9ac77be964 Minor fixes, mostly to do with capitalization and spelling. Change
@sc to @acronym where appropriate, and vice versa.
2002-11-06 08:22:00 +00:00