]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
13 years agodoc: fix grammar/doubled-word errors
Jim Meyering [Tue, 17 Jan 2012 09:31:12 +0000 (10:31 +0100)] 
doc: fix grammar/doubled-word errors

* doc/autoconf.texi: Remove/fix doubled-word errors.
Also, s/can not/cannot/.
* lib/m4sugar/m4sh.m4: Reword "if IF" comment to avoid triggering
the doubled-word warning.

13 years agomaint: sync files from gnulib
Stefano Lattarini [Sat, 21 Jan 2012 09:50:57 +0000 (10:50 +0100)] 
maint: sync files from gnulib

* GNUmakefile: Sync from gnulib.
* build-aux/announce-gen: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/git-version-gen: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/move-if-change: Likewise.
* build-aux/texinfo.tex: Likewise.
* build-aux/update-copyright: Likewise.
* build-aux/vc-list-files: Likewise.
* doc/gendocs_template: Likewise.
* doc/standards.texi: Likewise.
* m4/autobuild.m4: Likewise.

13 years agomaint: make position of gnulib checkout configurable
Stefano Lattarini [Sat, 21 Jan 2012 09:48:20 +0000 (10:48 +0100)] 
maint: make position of gnulib checkout configurable

Some gnulib-related tools (most prominently, the gnulib-provided
'bootstrap' script) allow the user to define the position of his
gnulib's repository checkout through the use of the 'GNULIB_SRCDIR'
environment variable.  We should do the same, for consistency and
to easily support slightly unusual layouts in developers' source
trees.

* cfg.mk (gnulib_dir): Define to "$GNULIB_SRCDIR" if that's set,
and to default value of "'$(abs_srcdir)'/../gnulib" otherwise.
Update comments.

13 years agogetopt: sync from Automake repository
Stefano Lattarini [Wed, 18 Jan 2012 18:08:18 +0000 (19:08 +0100)] 
getopt: sync from Automake repository

* lib/Autom4te/Getopt.am: The master copy of this file has
been moved to the  Automake repository (see Automake commit
'v1.11-662-g52246cc' 2012-01-18, "cmdline parsing: move into
a dedicated perl module").  So we now we sync it from there,
by listing it ...
* cfg.mk (autom4te_files): ... in this variable.

13 years agobuild: fix automake error due to missing ChangeLog
Stefano Lattarini [Fri, 20 Jan 2012 17:03:37 +0000 (18:03 +0100)] 
build: fix automake error due to missing ChangeLog

Apparently, Automake does not accept the '$(srcdir)/ChangeLog'
target in Makefile.am as a declaration that ChangeLog is
automatically generated (and thus does not need to exist at
automake time).  One has to use a *literal* 'ChangeLog' target.

Problem introduced in commit v2.68-118-g6ed5195 of 2012-01-17,
"maint: generate ChangeLog from git log".

* Makefile.ma ($(srcdir)/ChangeLog): Renamed ...
(ChangeLog): ... to this.

13 years agogetopt: new Autom4te::Getopt module
Stefano Lattarini [Tue, 17 Jan 2012 17:49:15 +0000 (18:49 +0100)] 
getopt: new Autom4te::Getopt module

* lib/Autom4te/General.pm (getopt): Move the guts of its
implementation ...
* lib/Autom4te/Getopt.pm (parse_options): .. into this function
in the new Autom4te::Getopt module.  This will make it simpler
for the implementation to be shared with other projects (right
now, Automake).
* lib/Automake/Makefile.am (dist_perllib_DATA): Add the new
module.

13 years agotests: avoid spurious failure for each gnu-fortran-using test
Jim Meyering [Tue, 17 Jan 2012 11:22:59 +0000 (12:22 +0100)] 
tests: avoid spurious failure for each gnu-fortran-using test

The tests compare pre- and post-run lists of envvars, which must
be the same, modulo a list of known, filtered-out exceptions.
However, when running fortran-checking tests with GNU fortran, each
would fail due to the post-run addition of the GFC symbol added in
v2.68-97-gbd962ac.
* tests/local.at (AT_CHECK_ENV): Add GFC to the list of symbols
that we ignore in pre-/post-run environment diffs.

13 years agomaint: generate ChangeLog from git log
Stefano Lattarini [Sun, 15 Jan 2012 18:43:18 +0000 (19:43 +0100)] 
maint: generate ChangeLog from git log

Following the practice set by various other GNU projects, we start
to automatically generate the ChangeLog file from the git commit
messages.  This will avoid duplication (as the ChangeLog entries
were always inserted both in the git commit message and in the
version-controlled ChangeLog file), and potential problems with
spurious merge conflicts (which, although greatly mitigated by
Bruno Haible's `git-merge-changelog' helper program, have never
been completely solved).

* ChangeLog: Moved ...
* ChangeLog.3: ... to this.
* build-aux/gitlog-to-changelog: New script, synced from gnulib.
* cfg.mk (gnulib-update): Also sync gitlog-to-changelog.
* Makefile.am (gen-ChangeLog): New .PHONY rule, generate the
ChangeLog for distribution.
(dist-hook): Depend on it.
($(srcdir)/ChangeLog): New dummy rule, to pacify automake "gnu"
strictness.  Creates a dummy ChangeLog, that will be overridden
by the proper one at distribution time.
(gen_start_date): New variable, the date starting from which the
git log entries are to be copied in the generated ChangeLog.
(EXTRA_DIST): Add ChangeLog.3 and gitlog-to-changelog.
* configure.ac (AC_CONFIG_SRCDIR): Use 'lib/autoconf/autoconf.m4'
instead of 'ChangeLog' as the sentinel file.
* .gitignore: Add ChangeLog.

13 years agocosmetics: fix some typos in ChangeLog
Stefano Lattarini [Sun, 15 Jan 2012 17:28:11 +0000 (18:28 +0100)] 
cosmetics: fix some typos in ChangeLog

13 years agogetopt: refine syntax of previous change
Jim Meyering [Sun, 15 Jan 2012 16:57:54 +0000 (17:57 +0100)] 
getopt: refine syntax of previous change

* lib/Autom4te/General.pm (getopt): Use a more concise test.

13 years agogetopt: remove hack for special handling of "-" argument
Stefano Lattarini [Sun, 15 Jan 2012 08:54:22 +0000 (09:54 +0100)] 
getopt: remove hack for special handling of "-" argument

Older versions of Getopt::Long acted bogusly and died when they
where configured with the 'bundling' flag and an argument '-' was
seen on the command line they were parsing.  That is no longer
the case though, and has not been for quite a long time: the bug
is no longer present in the 5.6.2 version of perl and the 2.25
version of Getopt::Long (and today, the latest versions of perl
and Getopt::Long are respectively 5.14.2 and 2.38).  The obsolete
workaround for that Getopt::Long bug can thus be removed from our
'getopt' function.

It is also worth noting that such a workaround was quite buggy
and brittle itself; for example, a command like this:
  "autom4te --output -"
would have caused the incorrect diagnostic:
  "autom4te: option `--output' requires an argument"
Much worse, a command like this:
  "autom4te --language=autoconf --output - configure.ac"
would have caused the standard input of autom4te to be processed
and copied into the 'configure.ac' file, deleting its pre-existing
content!  Surely not what a user would have expected.

After this change, a command like this:
  autom4te --language=autoconf --output - - <configure.ac >out
works as expected, processing the input from 'configure.ac' and
writing it to the 'out' file.

* lib/Autom4te/General.pm (use): Require perl version 5.6.2.
(getopt): Remove the old workaround.

13 years agoavoid new warning about undefined $ARGV[0]
Jim Meyering [Sun, 15 Jan 2012 16:16:52 +0000 (17:16 +0100)] 
avoid new warning about undefined $ARGV[0]

* lib/Autom4te/General.pm (getopt): Avoid warning induced by
yesterday's change: $ARGV[0] may not be defined, e.g., when
invoked via autoreconf.

13 years agogetopt: fix diagnostic for missing mandatory option argument
Stefano Lattarini [Sat, 14 Jan 2012 18:04:32 +0000 (19:04 +0100)] 
getopt: fix diagnostic for missing mandatory option argument

Before this change, an incorrect command line usage:
  "autom4te --output"
triggered broken diagnostic like:
  "autom4te: unrecognized option `--output'"
instead of the expected and correct:
  "autom4te: option `--output' requires an argument"

* lib/Autom4te/General.pm (getopt): Give correct diagnostic in
case of usage errors due to missing arguments for options for
which they are mandatory.  Code basically copied from automake's
'parse_arguments' private subroutine.

13 years agodoc: mention Bash 2.03 bug with backslash-newline
Paul Eggert [Thu, 5 Jan 2012 20:32:12 +0000 (12:32 -0800)] 
doc: mention Bash 2.03 bug with backslash-newline

* doc/autoconf.texi (Invoking the Shell): New section.
(Backslash-Newline-Empty): Rename from Backslash-Newline-Newline.
Mention problem with Bash 2.03.

13 years agodoc: clarify sed buffer limit
Paul Eggert [Thu, 5 Jan 2012 19:00:45 +0000 (11:00 -0800)] 
doc: clarify sed buffer limit

* doc/autoconf.texi (Limitations of Usual Tools):
That 4000-byte limit applies to output and internal buffers, too.

13 years agomaint: update copyright year
Paul Eggert [Tue, 3 Jan 2012 23:20:25 +0000 (15:20 -0800)] 
maint: update copyright year

All files changed to add 2012, via 'make update-copyright'.

13 years agomaint: resync upstream files
Paul Eggert [Tue, 3 Jan 2012 23:16:52 +0000 (15:16 -0800)] 
maint: resync upstream files

* ChangeLog, GNUmakefile, build-aux/announce-gen:
* build-aux/config.guess, build-aux/config.sub, build-aux/gendocs.sh:
* build-aux/git-version-gen, build-aux/move-if-change:
* build-aux/texinfo.tex, build-aux/update-copyright:
* build-aux/vc-list-files, doc/fdl.texi, doc/gendocs_template:
* doc/standards.texi, lib/Autom4te/XFile.pm, m4/autobuild.m4:
Regenerated by 'make fetch'.

13 years agoautoconf: remove " -link" and ")" from xlf output
Paul Eggert [Mon, 2 Jan 2012 19:22:25 +0000 (11:22 -0800)] 
autoconf: remove " -link" and ")" from xlf output

* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
Also remove " -link" and trailing ")" from xlf output.
Problem and fix reported by Thomas Jahns in
<http://lists.gnu.org/archive/html/bug-autoconf/2012-01/msg00000.html>.

13 years agoDo not use "win" to refer to Microsoft Windows.
Paul Eggert [Sun, 1 Jan 2012 23:26:39 +0000 (15:26 -0800)] 
Do not use "win" to refer to Microsoft Windows.

13 years agoconfigure: will re-execute with $CONFIG_SHELL, if it's set
Stefano Lattarini [Mon, 26 Dec 2011 09:27:51 +0000 (10:27 +0100)] 
configure: will re-execute with $CONFIG_SHELL, if it's set

* lib/m4sugar/general.m4 (_AS_DETECT_BETTER_SHELL): Define the macro
`_AS_FORCE_REEXEC_WITH_CONFIG_SHELL' to `yes', so that the code in
`_AS_DETECT_BETTER_SHELL' will cause autoconf-generated configure
scripts to always re-execute themselves with $CONFIG_SHELL, if it's
set in the environment.
* doc/autoconf.texi (config.status Invocation): Update.
* doc/install.texi (Defining Variables): Likewise.
* NEWS: Likewise.
* tests/m4sh.at: Add tests for the new semantics in ...
(Configure re-execs self with CONFIG_SHELL): ... this new
test group.

13 years agom4sh: allow forced re-execution with $CONFIG_SHELL, if it's set
Stefano Lattarini [Mon, 26 Dec 2011 09:06:18 +0000 (10:06 +0100)] 
m4sh: allow forced re-execution with $CONFIG_SHELL, if it's set

* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): If the m4sh client
has defined the macro `_AS_FORCE_REEXEC_WITH_CONFIG_SHELL' to
"yes", emit code to always re-execute the current script with
$CONFIG_SHELL, if that's set.
* tests/m4sh.at: Add tests for the new and old semantics, in ...
(Re-exec with CONFIG_SHELL, Forced re-exec with CONFIG_SHELL): ...
these new test groups.

13 years agom4sh: refactor _AS_DETECT_BETTER_SHELL, for future changes
Stefano Lattarini [Mon, 26 Dec 2011 09:06:18 +0000 (10:06 +0100)] 
m4sh: refactor _AS_DETECT_BETTER_SHELL, for future changes

* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Move code to
handle the re-execution of the shell ...
(_AS_REEXEC_WITH_SHELL): ... in this new macro.

13 years agodocs: issue with shell functions and here-documents on Solaris
Stefano Lattarini [Sat, 24 Dec 2011 15:43:36 +0000 (16:43 +0100)] 
docs: issue with shell functions and here-documents on Solaris

* doc/autoconf.texi (Here-Documents): Using a command substitution
in a here-documents being fed to a shell function is unportable.

Problem revealed by the automake testsuite:
<http://lists.gnu.org/archive/html/automake-patches/2011-12/msg00149.html>

13 years agoAS_LN_S: fall back on 'cp -pR' (not 'cp -p') if 'ln -s' fails
Paul Eggert [Mon, 26 Dec 2011 08:34:13 +0000 (00:34 -0800)] 
AS_LN_S: fall back on 'cp -pR' (not 'cp -p') if 'ln -s' fails

This works better for symlinks to directories.
Problem reported by Eli Zaretskii via Werner Lemberg in
<http://lists.gnu.org/archive/html/bug-autoconf/2011-12/msg00006.html>.
* NEWS:
* doc/autoconf.texi (Particular Programs): Document this.
* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Implement this.

13 years agoAC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings
Paul Eggert [Thu, 8 Dec 2011 06:41:04 +0000 (22:41 -0800)] 
AC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings

* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use the
array as well as setting it, to pacify g++.  Reported by
Werner Lemberg in
<http://lists.gnu.org/archive/html/autoconf/2011-12/msg00005.html>.

13 years agodoc: document GNU make's \#
Paul Eggert [Mon, 5 Dec 2011 22:21:44 +0000 (14:21 -0800)] 
doc: document GNU make's \#

* doc/autoconf.texi (Comments in Make Macros): Also mention \#
in the right hand side of a macro, as an unportable usage.

13 years agodoc: tweak previous commit
Eric Blake [Fri, 11 Nov 2011 21:16:35 +0000 (14:16 -0700)] 
doc: tweak previous commit

* doc/autoconf.texi (Limitations of Builtins) <export>: Give
concrete example of offender, and drop redundant text.
Reported by Stefano Lattarini.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agodoc: mention export portability hint
Eric Blake [Fri, 11 Nov 2011 20:51:33 +0000 (13:51 -0700)] 
doc: mention export portability hint

* doc/autoconf.texi (Limitations of Builtins) <export>: Document
export limitation.
Suggested by Bruno Haible.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agofortran: define $GFC to "yes" if $FC is a GNU compiler
Stefano Lattarini [Fri, 21 Oct 2011 12:00:36 +0000 (14:00 +0200)] 
fortran: define $GFC to "yes" if $FC is a GNU compiler

* lib/autoconf/fortran.m4 (AC_PROG_FC): Define `$GFC' to "yes" if
the detected fortran compiler is a GNU compiler, define it to the
empty string otherwise.
This is mostly for consistency for what is done for the C, C++
and Fortran 77 compilers.
* doc/automake.texi: Update.

13 years agoadmin: mention recent copyright assignments
Eric Blake [Thu, 13 Oct 2011 20:51:29 +0000 (14:51 -0600)] 
admin: mention recent copyright assignments

* AUTHORS: Update list.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agodocs: we prefer US English spelling over British one
Stefano Lattarini [Thu, 6 Oct 2011 08:40:23 +0000 (10:40 +0200)] 
docs: we prefer US English spelling over British one

* doc/autoconf.texi (Parallel Make): Prefer `behavior' over
`behaviour' in a couple of places.

13 years agodocs: some fixlets in section about shell signal handling
Stefano Lattarini [Thu, 29 Sep 2011 08:46:54 +0000 (10:46 +0200)] 
docs: some fixlets in section about shell signal handling

* doc/autoconf.texi (Signal handling): Rename ...
(Signal Handling): ... to this, for consistency with other node
names.  Fix some typos and grammaros.  Add more URL references
in comments.

13 years agodocs: korn shells can have $? > 256 for signal-terminated children
Stefano Lattarini [Thu, 29 Sep 2011 08:36:18 +0000 (10:36 +0200)] 
docs: korn shells can have $? > 256 for signal-terminated children

Some Korn shells, when a child process dies due to signal number
n, can leave in $? an exit status of 256+n, instead of the more
common 128+n.  See also Austin Group issue 0000051:
  <http://www.austingroupbugs.net/view.php?id=51>

* doc/autoconf.texi (Signal handling): Document the described Korn
Shell behaviour, and some of its possible shortcomings.

Suggestion by Eric Blake.

13 years agodocs: relax documentation license by dropping cover text
Eric Blake [Mon, 26 Sep 2011 18:01:11 +0000 (12:01 -0600)] 
docs: relax documentation license by dropping cover text

See https://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00022.html
for precedence in diffutils.  The autoconf manual, as of this commit,
was still barely below 400 pages.

* doc/autoconf.texi (copying): Drop front- and back-cover texts.
* NEWS: Document this.
Reported by Brian Gough.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agodocs: signal-related bugs and incompatibilities for the shells
Stefano Lattarini [Tue, 13 Sep 2011 14:22:05 +0000 (16:22 +0200)] 
docs: signal-related bugs and incompatibilities for the shells

* doc/autoconf.texi (Signal handling): New paragraph.
(@menu at "Portable Shell", @detailmenu): Update.

Motivated by recent discussion on the bug-autoconf list, as well
as work in the automake testsuite:
 <https://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00003.html>
 <https://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00004.html>
 <http://lists.gnu.org/archive/html/automake-patches/2011-09/msg00066.html>

13 years agodocs: refer to correct AC_RUN_IFELSE parameter name
Eric Blake [Mon, 19 Sep 2011 16:59:14 +0000 (10:59 -0600)] 
docs: refer to correct AC_RUN_IFELSE parameter name

The docs referred to @var{program}, which did not exist.

* doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Fix wording.
Reported by Reuben Thomas.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agodocs: fix typo in shell example
Eric Blake [Fri, 16 Sep 2011 19:37:38 +0000 (13:37 -0600)] 
docs: fix typo in shell example

* doc/autoconf.texi (Shell Substitutions): Fix typo.
* THANKS: Update.
Reported by Nick Bowler.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agodocs: more details about make VPATH rewriting woes
Stefano Lattarini [Tue, 16 Aug 2011 15:03:11 +0000 (17:03 +0200)] 
docs: more details about make VPATH rewriting woes

* doc/autoconf.texi (Automatic Rule Rewriting): Solaris make
VPATH rewriting applies to any whitespace-separated word in a
rule, so it might apply also to shell variables, functions
and keywords (and automake has already tripped on this once);
document this, with an example.  Since we are at it, do some
minor reformatting of existing text.

13 years agodocs: document Solaris 10 /bin/ksh and XPG4 sh 'unset' bug
Stefano Lattarini [Tue, 13 Sep 2011 13:56:57 +0000 (15:56 +0200)] 
docs: document Solaris 10 /bin/ksh and XPG4 sh 'unset' bug

* doc/autoconf.texi (Limitations of Builtins): Solaris 10 ksh
and XPG4 sh also fails upon `unset' of a variable that is not
set.

13 years agodocs: improve the prose describing _AC_CHECK_TYPE_NEW_BODY
Jim Meyering [Sun, 24 Jul 2011 13:50:36 +0000 (15:50 +0200)] 
docs: improve the prose describing _AC_CHECK_TYPE_NEW_BODY

* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW_BODY): Improve prose.

13 years agoAC_C_CONST: don't reject gcc -Werror -Wall
Paul Eggert [Thu, 1 Sep 2011 06:16:06 +0000 (23:16 -0700)] 
AC_C_CONST: don't reject gcc -Werror -Wall

* lib/autoconf/c.m4 (AC_C_CONST): Don't reject gcc when it is used
with -Werror -Wall during configuring.  It's unwise to use GCC
that way, but apparently enough people do it nowadays that it's an
issue.  These days nobody uses the old compilers that the old
tests reject, so we can't test this fix against them, but it's
more important to work with modern GCC (even when misused) than to
work with no-longer-used compilers.  Problem reported by Shevek in
<http://lists.gnu.org/archive/html/bug-autoconf/2008-11/msg00007.html>
and raised again by Dan Kegel in
<http://lists.gnu.org/archive/html/bug-autoconf/2011-08/msg00020.html>.

13 years agodocs: other issues with parallel BSD make
Stefano Lattarini [Tue, 16 Aug 2011 16:31:42 +0000 (18:31 +0200)] 
docs: other issues with parallel BSD make

Motivated by automake bug#9245:
 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
and FreeBSD PR bin/159730:
 <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>

* doc/autoconf.texi (Parallel Make): Document other BSD make
incompatibilities.  Reorganize the existing related documentation
accordingly.

14 years agodocs: fix minor typos
Stefano Lattarini [Mon, 8 Aug 2011 17:20:44 +0000 (19:20 +0200)] 
docs: fix minor typos

* doc/autoconf.texi (Shell Functions): Fix a couple of minor typos.

14 years agodocs: another Solaris sh bug with redirected `:'
Stefano Lattarini [Thu, 4 Aug 2011 08:24:36 +0000 (10:24 +0200)] 
docs: another Solaris sh bug with redirected `:'

* doc/autoconf.texi (File Descriptors): Solaris 10 /bin/sh
"optimizes" away redirected `:' commands in a shell function
after the first call.

14 years agodocs: modernize treatment of ns-resolution timestamps
Paul Eggert [Sun, 31 Jul 2011 07:53:38 +0000 (00:53 -0700)] 
docs: modernize treatment of ns-resolution timestamps

* doc/autoconf.texi (Limitations of Usual Tools): ns-resolution time
stamps are now routinely supported by coreutils 'cp' etc.

14 years ago* lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to Mac OS X 10.5
Paul Eggert [Sat, 30 Jul 2011 20:00:02 +0000 (13:00 -0700)] 
* lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to Mac OS X 10.5

by defining _DARWIN_USE_64_BIT_INODE.  Imported from gnulib.

14 years ago* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Quote cleanly.
Paul Eggert [Fri, 22 Jul 2011 21:19:32 +0000 (14:19 -0700)] 
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Quote cleanly.

This is imported from gnulib.  gnulib also has an HP-UX 11.11 fix, but
let's see if we can do that another way, as it's pretty heaviweight.

14 years agodocs: fix minor doc problems
Eric Blake [Fri, 22 Jul 2011 13:03:47 +0000 (07:03 -0600)] 
docs: fix minor doc problems

* doc/autoconf.texi (Why Not Imake): Fix grammar.
(autoreconf Invocation): Fix short option for --version.
* THANKS: Update.
Reported by Christophe Jarry and Russ Allbery.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoAC_REQUIRE: include FAQ URL when warning about duplicate expansion
Mike Frysinger [Mon, 11 Jul 2011 21:24:40 +0000 (17:24 -0400)] 
AC_REQUIRE: include FAQ URL when warning about duplicate expansion

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-07-11  Mike Frysinger  <vapier@gentoo.org>

* lib/m4sugar/m4sugar.m4 (_m4_require_check): Add URL to warning.

14 years agodocs: fix typo in AC_PATH_PROG
Benoit Sigoure [Tue, 12 Jul 2011 21:00:13 +0000 (14:00 -0700)] 
docs: fix typo in AC_PATH_PROG

* doc/autoconf.texi (Erlang Compiler and Interpreter):
s/AC_PROG_PATH/AC_PATH_PROG/.
* THANKS: Update.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years ago* tests/semantics.at (AC_REPLACE_FUNCS): Test for just-fixed bug.
Paul Eggert [Thu, 30 Jun 2011 16:13:41 +0000 (09:13 -0700)] 
* tests/semantics.at (AC_REPLACE_FUNCS): Test for just-fixed bug.

14 years ago* lib/autoconf/functions.m4 (_AC_REPLACE_FUNCS): Fix tr-cpp problem.
Timo Kamph [Thu, 30 Jun 2011 16:12:55 +0000 (09:12 -0700)] 
* lib/autoconf/functions.m4 (_AC_REPLACE_FUNCS): Fix tr-cpp problem.

See http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00058.html

14 years ago* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Be even smarter.
Paul Eggert [Mon, 20 Jun 2011 05:33:03 +0000 (22:33 -0700)] 
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Be even smarter.

GCC was too smart for the previous patch.  See
<http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00035.html>.

14 years ago* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Try to outsmart GCC.
Paul Eggert [Sat, 18 Jun 2011 21:39:57 +0000 (14:39 -0700)] 
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Try to outsmart GCC.

Problem with stack-detection code reported by Andy Wingo in
<http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00032.html>.
This fix is imported from gnulib's c-stack module.

14 years ago* doc/autoconf.texi (File Descriptors): Fix texinfo typo.
Paul Eggert [Sat, 18 Jun 2011 21:36:22 +0000 (14:36 -0700)] 
* doc/autoconf.texi (File Descriptors): Fix texinfo typo.

14 years agodoc: mention more about ksh cloexec behavior
Eric Blake [Mon, 13 Jun 2011 23:33:07 +0000 (17:33 -0600)] 
doc: mention more about ksh cloexec behavior

* doc/autoconf.texi (File Descriptors): Clarify that only the exec
builtin suffers from cloexec issues.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agodoc: update quoting example
Eric Blake [Tue, 14 Jun 2011 13:45:29 +0000 (07:45 -0600)] 
doc: update quoting example

The existing example triggers an autoconf warning, due to the
change in AC_COMPILE_IFELSE probing for an AC_LANG_SOURCE use.

* doc/autoconf.texi (Autoconf Language): Add AC_LANG_SOURCE use.
* THANKS: Update.
Reported by Křištof Želechovski.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agodoc: document dash bug with positional parameters
Eric Blake [Thu, 5 May 2011 14:29:21 +0000 (08:29 -0600)] 
doc: document dash bug with positional parameters

* doc/autoconf.texi (Shell Substitutions) <${10}>: Document
a pitfall with $10.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agodocs: document NetBSD join bug
Eric Blake [Wed, 27 Apr 2011 16:26:42 +0000 (10:26 -0600)] 
docs: document NetBSD join bug

* doc/autoconf.texi (Limitations of Usual Tools) <join>: Mention
bug in -a parsing.
Reported by J.T. Conklin.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agomaint: reflect recent copyright assignments
Eric Blake [Wed, 13 Apr 2011 21:36:54 +0000 (15:36 -0600)] 
maint: reflect recent copyright assignments

Missed one on my last update.

* AUTHORS: Update.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agomaint: reflect recent copyright assignments
Eric Blake [Tue, 5 Apr 2011 20:50:14 +0000 (14:50 -0600)] 
maint: reflect recent copyright assignments

* AUTHORS: Update.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoNew macro AC_FC_PP_DEFINE for the preprocessor define flag.
Ralf Wildenhues [Sat, 2 Apr 2011 13:20:48 +0000 (15:20 +0200)] 
New macro AC_FC_PP_DEFINE for the preprocessor define flag.

* lib/autoconf/fortran.m4 (AC_FC_PP_DEFINE): New macro.
* lib/autom4te.in (Automake-preselections): Preselect it.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/local.at (_AT_CHECK_ENV): Do not complain about
FCFLAGS_F nor FC_DEFINE.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoNew macro AC_FC_PP_SRCEXT for preprocessed file extensions.
Ralf Wildenhues [Sat, 2 Apr 2011 12:52:20 +0000 (14:52 +0200)] 
New macro AC_FC_PP_SRCEXT for preprocessed file extensions.

* lib/autoconf/fortran.m4 (AC_FC_PP_SRCEXT): New macro.
* lib/autom4te.in (Automake-preselections): Preselect it.
* doc/autoconf.texi (Fortran Compiler): Document it, rewriting
the documentation for AC_FC_SRCEXT along the way.
* tests/fortran.at (AC_FC_PP_SRCEXT usage): New test.
* tests/mktests.sh: Exclude the macro from default testing.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoNew macro AC_FC_MODULE_OUTPUT_FLAG: module output directory.
Ralf Wildenhues [Sat, 2 Apr 2011 12:21:38 +0000 (14:21 +0200)] 
New macro AC_FC_MODULE_OUTPUT_FLAG: module output directory.

* lib/autoconf/fortran.m4 (AC_FC_MODULE_OUTPUT_FLAG): New macro.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/local.at (_AT_CHECK_ENV): Do not complain about
FC_MODOUT.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoNew macro AC_FC_MODULE_FLAG: Fortran 90 module include path.
Luc Maisonobe [Sat, 2 Apr 2011 12:17:55 +0000 (14:17 +0200)] 
New macro AC_FC_MODULE_FLAG: Fortran 90 module include path.

* lib/autoconf/fortran.m4 (AC_FC_MODULE_FLAG): New macro,
adjusted and rewritten from the AX_F90_MODULE_FLAG macro from
the Autoconf Macro Archive by Luc Maisonobe, Julian C. Cummings,
and Alexander Pletzer.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/fortran.at (AC_FC_MODULE_FLAG): New test.
* tests/local.at (AT_CHECK_ENV): Do not complain about FC_MODINC
setting.
* NEWS, THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoNew macro AC_FC_MODULE_EXTENSION: Fortran 90 module extension.
Luc Maisonobe [Sat, 2 Apr 2011 12:15:14 +0000 (14:15 +0200)] 
New macro AC_FC_MODULE_EXTENSION: Fortran 90 module extension.

* lib/autoconf/fortran.m4 (AC_FC_MODULE_EXTENSION): New macro,
rewritten from the AX_F90_MODULE_EXTENSION macro from the
Autoconf Macro Archive by Luc Maisonobe and Alexander Pletzer.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/local.at (_AT_CHECK_ENV): Do not complain about
FC_MODEXT setting.
* NEWS, THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoREADME-hacking: fix typo
Jim Meyering [Sat, 26 Mar 2011 20:50:43 +0000 (21:50 +0100)] 
README-hacking: fix typo

* README-hacking: s/just build/just built/.

14 years agodocs: Document AC_FUNC_FORK cache variables.
Colin Watson [Fri, 4 Mar 2011 20:55:03 +0000 (21:55 +0100)] 
docs: Document AC_FUNC_FORK cache variables.

* doc/autoconf.texi (Particular Functions): Document AC_FUNC_FORK
cache variables.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: BSD and Solaris make trailing space macro issue.
Ralf Wildenhues [Sun, 6 Mar 2011 12:28:42 +0000 (13:28 +0100)] 
docs: BSD and Solaris make trailing space macro issue.

* doc/autoconf.texi (Trailing whitespace in Make Macros):
Document issue with trailing whitespace in macro settings.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
Ralf Wildenhues [Sat, 5 Mar 2011 14:27:08 +0000 (15:27 +0100)] 
Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.

* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): Use -e I
not -d i, for Cray ftn.
* THANKS: Update.
Thanks to Tobias Burnus for feedback and testing.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: document several Fortran and OpenMP cache variables.
Ralf Wildenhues [Sat, 5 Mar 2011 13:39:10 +0000 (14:39 +0100)] 
docs: document several Fortran and OpenMP cache variables.

* doc/autoconf.texi (Generic Compiler Characteristics)
[AC_OPENMP]: Document associated cache variables.
(Fortran Compiler) [AC_PROG_F77, AC_PROG_FC, AC_PROG_F77_C_O]
[AC_PROG_FC_C_O, AC_F77_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS]
[AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN, AC_F77_MAIN, AC_FC_MAIN]
[AC_F77_WRAPPERS, AC_FC_WRAPPERS, AC_FC_FREEFORM]
[AC_FC_FIXEDFORM, AC_FC_LINE_LENGTH, AC_FC_CHECK_BOUNDS]
[AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE]: Document and/or
index the cache variables used by these macros.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agobuild: exclude M4 with buggy strstr
Ralf Wildenhues [Sat, 5 Mar 2011 07:16:41 +0000 (08:16 +0100)] 
build: exclude M4 with buggy strstr

* m4/m4.m4 (AC_PROG_GNU_M4): When searching PATH, do not accept
an m4 that has either the gnulib strstr bug, or the glibc/gnulib
strstr bug.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agodocs: fix description of AC_F77_IMPLICIT_NONE.
Ralf Wildenhues [Sat, 5 Mar 2011 10:41:37 +0000 (11:41 +0100)] 
docs: fix description of AC_F77_IMPLICIT_NONE.

* doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]:
This macro modifies FFLAGS, not FCFLAGS.  Fix grammar nit.

14 years agoAC_FC_SRCEXT: allow gfortran to compile .f77 files.
Ralf Wildenhues [Sat, 5 Mar 2011 06:56:21 +0000 (07:56 +0100)] 
AC_FC_SRCEXT: allow gfortran to compile .f77 files.

* lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Try '-x f77' for .f77
files, '-x f95' for others, for gfortran.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoNew macros AC_{F77,FC}_IMPLICIT_NONE to disable Fortran implicit int.
Ralf Wildenhues [Sat, 5 Mar 2011 06:55:51 +0000 (07:55 +0100)] 
New macros AC_{F77,FC}_IMPLICIT_NONE to disable Fortran implicit int.

* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): New internal
macro.
(AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE): New macros.
* doc/autoconf.texi (Fortran Compiler): Document them.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoNew macro AC_FC_CHECK_BOUNDS to enable Fortran array bounds checking.
Ralf Wildenhues [Sat, 5 Mar 2011 06:55:14 +0000 (07:55 +0100)] 
New macro AC_FC_CHECK_BOUNDS to enable Fortran array bounds checking.

* lib/autoconf/fortran.m4 (AC_FC_CHECK_BOUNDS): New macro.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/fortran.at (AC_FC_CHECK_BOUNDS): New test.
* NEWS: Update.
Prompted by report from Eve-Marie Devaliere.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoUpdate known compiler switches for Fortran and OpenMP macros.
Ralf Wildenhues [Fri, 4 Mar 2011 20:26:08 +0000 (21:26 +0100)] 
Update known compiler switches for Fortran and OpenMP macros.

* lib/autoconf/c.m4 (AC_OPENMP): Update for Lahey on GNU/Linux.
* lib/autoconf/fortran.m4 (_AC_F95_FC): Also try nagfor.
(_AC_PROG_FC_V): Update documentation for Lahey switches.
(AC_FC_FREEFORM, AC_FC_FIXEDFORM): Add flags for Absoft, Lahey
on GNU/Linux, document NAGWare, g95, and f2c switches.
(AC_FC_LINE_LENGTH): Document NAGware switch.  Update Absoft,
Lahey, NAGWare, Open Watcom, g95, and f2c switches.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agotests: accept f2c/fort77 as GNU Fortran 77.
Ralf Wildenhues [Fri, 4 Mar 2011 20:25:06 +0000 (21:25 +0100)] 
tests: accept f2c/fort77 as GNU Fortran 77.

* tests/fortran.at (GNU Fortran 77): Try to detect f2c wrapper
fort77 as GNU as well: it defines __GNUC__ too.  Fixes testsuite
failure when f77 is fort77.
Report from Giulio Paci.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: macro synopses document default failure cases.
Ralf Wildenhues [Fri, 4 Mar 2011 20:24:32 +0000 (21:24 +0100)] 
docs: macro synopses document default failure cases.

* doc/autoconf.texi (Fortran Compiler, Obsolete Macros):
Document failure case for AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN,
AC_FC_SRCEXT, AC_FC_FREEFORM, AC_FC_FIXEDFORM,
AC_FC_LINE_LENGTH, and AC_TRY_RUN macros.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoReword Fortran macro documentation.
Ralf Wildenhues [Fri, 4 Mar 2011 20:23:49 +0000 (21:23 +0100)] 
Reword Fortran macro documentation.

* doc/autoconf.texi (Fortran Compiler): Improve wording for
AC_FC_FREEFORM, AC_FC_FIXEDFORM, and AC_FC_LINE_LENGTH macros.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoconfig.status: do not quote $SHELL when rerunning configure.
Ralf Wildenhues [Sat, 26 Feb 2011 07:19:36 +0000 (08:19 +0100)] 
config.status: do not quote $SHELL when rerunning configure.

* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Allow
$SHELL to contain more than one word, when rerunning configure,
for debugging purposes like CONFIG_SHELL='/bin/sh -x'.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoAdd support for the Go programming language.
Ian Lance Taylor [Tue, 12 Oct 2010 19:26:39 +0000 (12:26 -0700)] 
Add support for the Go programming language.

* lib/autoconf/go.m4: New file.
* lib/autoconf/autoconf.m4: Include autoconf/go.m4.
* lib/autoconf/Makefile.am (dist_autoconflib_DATA): Add go.m4.
* lib/freeze.mk (autoconf_m4f_dependencies): Add
$(src_libdir)/autoconf/go.m4.
* doc/autoconf.texi: Rebuild menus.
(Preset Output Variables): Mention Go.  Document GOFLAGS.
(Libraries): Mention Go.
(Go Compiler): New subsection.
(Language Choice): Mention Go.
(Generating Sources): Likewise.
(Running the Preprocessor): Likewise.
* tests/go.at: New file.
* tests/suite.at: Include go.at and acgo.at.
* tests/local.at (_AT_CHECK_ENV): Add GOC and GOFLAGS.
* tests/Makefile.am (TESTSUITE_GENERATED_AT): Add
$(srcdir)/acgo.at.
(TESTSUITE_HAND_AT): Add go.at.
(AUTOCONF_FILES): Add $(autoconfdir)/go.m4.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix OpenMP flag detection for various Fortran compilers.
Christian Rössel [Sun, 20 Feb 2011 17:24:23 +0000 (18:24 +0100)] 
Fix OpenMP flag detection for various Fortran compilers.

* lib/autoconf/c.m4 (_AC_LANG_OPENMP(Fortran 77)): Use '!$'
OpenMP-conditional compilation construct, to force compile
failure with missing OpenMP flag.
(AC_OPENMP): Add flags for Cray CCE and NEC SX compilers.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: document fourth argument of AC_RUN_IFELSE better
Eric Blake [Fri, 18 Feb 2011 18:08:08 +0000 (11:08 -0700)] 
docs: document fourth argument of AC_RUN_IFELSE better

* doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Make synopsis show
that the default is configure failure.  Rework the text about
proper use of the fourth argument.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agolong long: don't abort configure when cross-compiling
Eric Blake [Fri, 18 Feb 2011 17:41:56 +0000 (10:41 -0700)] 
long long: don't abort configure when cross-compiling

* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Provide no-op
cross-compiling fallback; fixing regression from 2011-02-16.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agodocs: fix a typo
Patrick Welche [Wed, 16 Feb 2011 15:51:22 +0000 (15:51 +0000)] 
docs: fix a typo

* doc/autoconf.texi (Generic Structures): Fix typo.

14 years agodocs: fix some typos
Matt Kraai [Wed, 16 Feb 2011 12:58:53 +0000 (04:58 -0800)] 
docs: fix some typos

* doc/autoconf.texi (testsuite Scripts): Fix typos.
* THANKS: Update.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoautoconf: tune long long tests, particularly for c99
Paul Eggert [Wed, 16 Feb 2011 09:29:40 +0000 (01:29 -0800)] 
autoconf: tune long long tests, particularly for c99

This change is imported from gnulib.
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Don't bother compiling
or running anything if c99, or if unsigned long long int does not
work.  In either case, we know the answer without further tests.
Do not compile _AC_TYPE_LONG_LONG_SNIPPET twice.  Instead, compile
it at most once, and use its results for both long long int and
unsigned long long int.  This is more likely to be efficient in
the common case where the program wants to check for both long
long int and unsigned long long int.
(AC_TYPE_UNSIGNED_LONG_LONG_INT): Don't bother compiling if c99,
since the answer is already known.

14 years agodoc: fix debug advice typo
Eric Blake [Tue, 15 Feb 2011 21:22:11 +0000 (14:22 -0700)] 
doc: fix debug advice typo

* doc/autoconf.texi (Debugging): Put shell option in right place.
Reported by Reuben Thomas.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoFix detection of link flags for fort77 on GNU/Linux.
Giulio Paci [Sat, 12 Feb 2011 10:30:32 +0000 (11:30 +0100)] 
Fix detection of link flags for fort77 on GNU/Linux.

* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Properly detect
the fort77 (f2c wrapper) compiler verbose linking output flag.
Fixes also AC_F77_LIBRARY_LDFLAGS and AC_F77_DUMMY_MAIN.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoRebuild menus in the manual.
Ralf Wildenhues [Mon, 7 Feb 2011 23:00:56 +0000 (00:00 +0100)] 
Rebuild menus in the manual.

* doc/autoconf.texi: Rebuild menus using emacs ^C ^U ^A.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoautoconf: new macro AC_HEADER_CHECK_STDBOOL
Paul Eggert [Sat, 5 Feb 2011 04:38:07 +0000 (20:38 -0800)] 
autoconf: new macro AC_HEADER_CHECK_STDBOOL

* NEWS: Document this.
* doc/autoconf.texi (Particular Headers): Likewise.
In example, don't assume a 'system.h' exists.
* lib/autoconf/headers.m4 (AC_CHECK_HEADER_STDBOOL): New macro.
Use it with AN_IDENTIFIER, since it's less heavyweight.
Reindent to match gnulib, since that's a bit nicer.
(AC_HEADER_STDBOOL): Reimplement in terms of it.

14 years agodocs: fix typo in the manual.
Jim Warhol [Sat, 29 Jan 2011 10:35:46 +0000 (11:35 +0100)] 
docs: fix typo in the manual.

* doc/autoconf.texi (Introduction): Fix typo.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: another parallel make issue
Stefano Lattarini [Mon, 24 Jan 2011 21:31:37 +0000 (22:31 +0100)] 
docs: another parallel make issue

* doc/autoconf.texi (Parallel Make): Document that some make
implementations, when run in parallel mode, connect stdout and
stderr of child processes to pipes or temporary files, and might
re-route stderr of spawned processes to stout.  Also document
that FreeBSD make in parallel mode reuses the same shell for
multiple commands within one recipe (like NetBSD make does).

14 years agodocs: advise against HP-UX make due to time stamp semantics.
Ralf Wildenhues [Tue, 25 Jan 2011 19:49:50 +0000 (20:49 +0100)] 
docs: advise against HP-UX make due to time stamp semantics.

* doc/autoconf.texi (Timestamps and Make): Document HP-UX 11.31
make issue with targets having the same time stamps as their
prerequisites.
* doc/install.texi (Particular Systems): Warn against using
HP-UX make.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agomaint: reflect recent copyright assignments
Eric Blake [Wed, 26 Jan 2011 02:31:45 +0000 (19:31 -0700)] 
maint: reflect recent copyright assignments

* AUTHORS: Update.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agodocs: new section about whitespace trimmmed from make command-lines.
Ralf Wildenhues [Sun, 23 Jan 2011 10:24:02 +0000 (11:24 +0100)] 
docs: new section about whitespace trimmmed from make command-lines.

* doc/autoconf.texi (Command-line Macros and whitespace): New
section, document trimming of whitespace from macros set on the
command line and from the environment.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: document how to use comment characters in rules.
Ralf Wildenhues [Sat, 22 Jan 2011 18:39:29 +0000 (19:39 +0100)] 
docs: document how to use comment characters in rules.

* doc/autoconf.texi (Comments in Make Rules): Explain how to
produce a `#' in a rule.
(Comments in Make Macros): Add cross reference.
Suggestion from Eric Blake.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: new sections about comments and whitespace in make macros.
Ralf Wildenhues [Sat, 22 Jan 2011 10:16:27 +0000 (11:16 +0100)] 
docs: new sections about comments and whitespace in make macros.

* doc/autoconf.texi (Top, Portable Make): Adjust menus.
(Comments in Make Macros, Trailing whitespace in Make Macros):
New sections.
Suggestion by Stefano Lattarini.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: do not use AIX 5.3 cp -R.
Ralf Wildenhues [Sat, 22 Jan 2011 12:46:06 +0000 (13:46 +0100)] 
docs: do not use AIX 5.3 cp -R.

* doc/autoconf.texi (Limitations of Usual Tools): Document one
instance of the cp -R bug on AIX 5.3.  This seems to have been
fixed in 6.1 and newer releases.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>