2012-01-15  Jim Meyering  <meyering@redhat.com>

	getopt: refine syntax of previous change
	* lib/Autom4te/General.pm (getopt): Use a more concise test.

2011-01-15  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2012-01-15  Jim Meyering  <meyering@redhat.com>

	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.

2011-01-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2012-01-05  Paul Eggert  <eggert@cs.ucla.edu>

	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.

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

2012-01-03  Paul Eggert  <eggert@cs.ucla.edu>

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

	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'.

2012-01-02  Paul Eggert  <eggert@cs.ucla.edu>

	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
	<https://lists.gnu.org/archive/html/bug-autoconf/2012-01/msg00000.html>.

2011-12-26  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-12-26  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-12-26  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-12-24  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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:
	<https://lists.gnu.org/archive/html/automake-patches/2011-12/msg00149.html>

2011-12-26  Paul Eggert  <eggert@cs.ucla.edu>

	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
	<https://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.

2011-12-07  Paul Eggert  <eggert@cs.ucla.edu>

	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
	<https://lists.gnu.org/archive/html/autoconf/2011-12/msg00005.html>.

2011-12-05  Paul Eggert  <eggert@cs.ucla.edu>

	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.

2011-11-11  Eric Blake  <eblake@redhat.com>

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

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

2011-10-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-10-13  Eric Blake  <eblake@redhat.com>

	admin: mention recent copyright assignments
	* AUTHORS: Update list.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: we prefer US English spelling over British one
	* doc/autoconf.texi (Parallel Make): Prefer `behavior' over
	`behaviour' in a couple of places.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-09-26  Eric Blake  <eblake@redhat.com>

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

2011-09-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: signal-related bugs and incompatibilities for the shells
	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>
	 <https://lists.gnu.org/archive/html/automake-patches/2011-09/msg00066.html>
	* doc/autoconf.texi (Signal handling): New paragraph.
	(@menu at "Portable Shell", @detailmenu): Update.

2011-09-19  Eric Blake  <eblake@redhat.com>

	docs: refer to correct AC_RUN_IFELSE parameter name
	* doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Fix wording.
	Reported by Reuben Thomas.

2011-09-16  Eric Blake  <eblake@redhat.com>

	docs: fix typo in shell example
	* doc/autoconf.texi (Shell Substitutions): Fix typo.
	* THANKS: Update.
	Reported by Nick Bowler.

2011-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-09-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-07-24  Jim Meyering  <meyering@redhat.com>

	docs: improve the prose describing _AC_CHECK_TYPE_NEW_BODY
	* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW_BODY): Improve prose.

2011-08-31  Paul Eggert  <eggert@cs.ucla.edu>

	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
	<https://lists.gnu.org/archive/html/bug-autoconf/2008-11/msg00007.html>
	and raised again by Dan Kegel in
	<https://lists.gnu.org/archive/html/bug-autoconf/2011-08/msg00020.html>.

2011-08-16  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: other issues with parallel BSD make
	Motivated by automake bug#9245:
	 <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
	and FreeBSD PR bin/159730:
	 <https://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.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

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

2011-08-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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.

2011-07-31  Paul Eggert  <eggert@cs.ucla.edu>

	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.

2011-07-30  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to Mac OS X 10.5
	by defining _DARWIN_USE_64_BIT_INODE.  Imported from gnulib.

2011-07-22  Paul Eggert  <eggert@cs.ucla.edu>

	* 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 heavyweight.

2011-07-22  Eric Blake  <eblake@redhat.com>

	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.

2011-07-12  Benoit Sigoure  <tsunanet@gmail.com>  (tiny change)

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

2011-06-30  Paul Eggert  <eggert@cs.ucla.edu>

	* tests/semantics.at (AC_REPLACE_FUNCS): Test for just-fixed bug.

2011-06-30  Timo Kamph  <timo.kamph@tu-harburg.de>  (trivial change)

	* lib/autoconf/functions.m4 (_AC_REPLACE_FUNCS): Fix tr-cpp problem.
	See https://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00058.html

2011-06-19  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Be even smarter.
	GCC was too smart for the previous patch.  See
	<https://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00035.html>.

2011-06-18  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Try to outsmart GCC.
	Problem with stack-detection code reported by Andy Wingo in
	<https://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00032.html>.
	This fix is imported from gnulib's c-stack module.

	* doc/autoconf.texi (File Descriptors): Fix texinfo typo.

2011-06-14  Eric Blake  <eblake@redhat.com>

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

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

2011-05-05  Eric Blake  <eblake@redhat.com>

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

2011-04-27  Eric Blake  <eblake@redhat.com>

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

2011-04-13  Eric Blake  <eblake@redhat.com>

	maint: reflect recent copyright assignments
	* AUTHORS: Update.

2011-04-05  Eric Blake  <eblake@redhat.com>

	maint: reflect recent copyright assignments
	* AUTHORS: Update.

2011-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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.

	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.

	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.

2011-04-02  Luc Maisonobe  <luc@spaceroots.org>
	    Julian C. Cummings  <cummings@cacr.caltech.edu>
	    Alexander Pletzer  <pletzer@txcorp.com>
	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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.

2011-04-02  Luc Maisonobe  <luc@spaceroots.org>
	    Alexander Pletzer  <pletzer@txcorp.com>
	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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.

2011-03-26  Jim Meyering  <meyering@redhat.com>

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

2011-03-08  Colin Watson  <cjwatson@debian.org>  (tiny change)
	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

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

2011-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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.

2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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.

	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.

2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
	and Eric Blake  <eblake@redhat.com>

	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.

2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	docs: fix description of AC_F77_IMPLICIT_NONE.
	* doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]:
	This macro modifies FFLAGS, not FCFLAGS.

	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.

	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.

	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.

2011-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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.

	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.

	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.

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

2011-02-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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'.

2011-02-21  Ian Lance Taylor  <iant@google.com>

	* 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.

2011-02-20  Christian Rössel  <christian.roessel@gmx.de>  (tiny change)
	    Markus Geimer  <m.geimer@fz-juelich.de>  (tiny change)

	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.

2011-02-18  Eric Blake  <eblake@redhat.com>

	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.

	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.

2011-02-16  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)

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

2011-02-16  Matt Kraai  <kraai@ftbfs.org>  (tiny change)

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

2011-02-16  Paul Eggert  <eggert@cs.ucla.edu>

	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.

2011-02-15  Eric Blake  <eblake@redhat.com>

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

2011-02-12  Giulio Paci  <giuliopaci@interfree.it>  (tiny change)
	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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.

2011-02-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

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

2011-02-04  Paul Eggert  <eggert@cs.ucla.edu>

	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.

2011-01-29  Jim Warhol  <jrw@jwarhol.com>  (tiny change)

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

2011-01-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	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).

2011-01-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
	    Eric Blake  <eblake@redhat.com>

	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.

2011-01-25  Eric Blake  <eblake@redhat.com>

	maint: reflect recent copyright assignments
	* AUTHORS: Update.

2011-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	docs: new section about whitespace trimmed 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.

2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	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.

	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.

	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.

	docs: update entry about unset.
	* doc/autoconf.texi (Limitations of Builtins): NetBSD sh unset
	also fails upon `unset' of a variable that is not set.  Bash 2.01
	could also dump core over `unset MAILPATH'.
	Suggestion by Eric Blake.

2011-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	Fix LEXLIB and YYTEXT_POINTER with IRIX 6.5 flex 2.5.4.
	* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL):
	Overquote nontrivial yyless argument, to compensate for
	underquoted macro definition in IRIX 6.5 flex 2.5.4
	leading to compile failure due to incompatible operands.
	Fixes Automake silent-lex-generic.test failure.

2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	docs: Tru64/OSF sh treats read as special builtin
	* doc/autoconf.texi (Limitations of Builtins): read may exit
	upon unreadable or non-existent file with Tru64/OSF 5.1 sh.

2011-01-12  Eric Blake  <eblake@redhat.com>

	docs: fix description of m4_ifval
	* doc/autoconf.texi (Conditional constructs) <m4_ifval>: Use
	correct argument order.
	* THANKS: Update.
	Reported by Mostafa.

2011-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	Avoid reference to $CYGWIN in Fortran macros.
	* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Require
	AC_CANONICAL_HOST.  Replace test for $CYGWIN with $host_s test.
	* tests/fortran.at (AC_F77_DUMMY_MAIN usage)
	(AC_FC_DUMMY_MAIN usage, AC_F77_MAIN usage, AC_FC_MAIN usage):
	Use AT_CONFIGURE_AC and simplify accordingly, so auxiliary
	scripts are copied into the test directories.
	(AC_F77_FUNC usage, AC_FC_FUNC usage): Likewise.  Adjust to
	autoheader being used now.

	docs: link to Gnulib configmake documentation.
	* doc/autoconf.texi (Defining Directories): Use proper crossref,
	now that the Gnulib manual has a configmake section.
	Thanks to Karl Berry.

2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	docs: link to 'set -e' shell behavior overview.
	* doc/autoconf.texi (Limitations of Builtins): Add link to
	Sven Mascheck's 'set -e' page.  Replace broken Opengroup link.
	Suggestion by Eric Blake.

	docs: mention configmake module for defining directories.
	* doc/autoconf.texi (Defining Directories): Mention configmake
	gnulib module.
	Suggestion by Karl Berry and Eric Blake.

2011-01-04  Eric Blake  <eblake@redhat.com>

	doc: improve install.texi texinfo markup
	* doc/install.texi: Don't force @firstparagraphindent on all
	clients; instead, add it only when building INSTALL.  Compress
	copyright.
	* Makefile.am (INSTALL): Match gnulib's formatting.
	Reported by Karl Berry.

	maint: update copyright year
	All files changed to add 2011, via 'make update-copyright'.

	maint: resync upstream files
	* GNUmakefile: Regenerated by 'make fetch'.
	* build-aux/config.guess: Likewise.
	* build-aux/config.sub: Likewise.
	* build-aux/gendocs.sh: Likewise.
	* build-aux/git-version-gen: Likewise.
	* build-aux/texinfo.tex: Likewise.
	* doc/make-stds.texi: Likewise.
	* lib/Autom4te/Channels.pm: Likewise.
	* lib/Autom4te/Configure_ac.pm: Likewise.
	* lib/Autom4te/FileUtils.pm: Likewise.
	* lib/Autom4te/Struct.pm: Likewise.
	* lib/Autom4te/XFile.pm: Likewise.

	maint: document use of copyright ranges
	* README: Copy coreutils wording for allowing copyright year
	ranges.
	* cfg.mk (UPDATE_COPYRIGHT_USE_INTERVALS): Now that GNU Coding
	Standards permit it, prefer shorthand copyright.
	* .x-update-copyright: Exempt an imported file.

2011-01-03  Karl Berry  <karl@freefriends.org>

	Avoid using @acronym in install.texi.
	* doc/install.texi (Basic Installation, Multiple Architectures)
	(Installation Names): Write `GNU' instead of `@acronym{GNU}'.

2010-12-27  Paul Eggert  <eggert@cs.ucla.edu>

	autoconf: Use -D_STDC_C99=, not -xc99=all, with Solaris cc
	* lib/autoconf/c.m4 (_AC_PROG_CC_C99): Use -D_STDC_C99= rather than
	-xc99=all to convince Solaris Studio cc to compile c99 programs.

2010-11-26  Paul Eggert  <eggert@cs.ucla.edu>

	autotest: fix file descriptor leak
	* lib/autotest/general.m4 (_AT_CHECK): Close AS_MESSAGE_LOG_FD
	when running the test.	Problem reported by Luke Mewburn in
	<https://lists.gnu.org/archive/html/autoconf/2010-11/msg00036.html>.

2010-11-20  Paul Eggert  <eggert@cs.ucla.edu>

	autoconf: don't assume sys/stat.h and sys/types.h when testing C89
	Problem reported by Patrick Pelissier in
	<https://lists.gnu.org/archive/html/bug-autoconf/2010-11/msg00019.html>.
	* lib/autoconf/c.m4 (_AC_PROG_CC_C89): Don't include sys/types.h
	and sys/stat.h.  Instead, define a dummy struct stat.  C89 doesn't
	guarantee sys/types.h and sys/stat.h.

2010-11-10  Reuben Thomas  <rrt@sc3d.org>  (tiny change)

	docs: avoid first person, and credit history to David MacKenzie
	* doc/autoconf.texi (History): Add credit.

2010-10-26  Paul Eggert  <eggert@cs.ucla.edu>

	docs: Posix now says "((cat))" isn't portable
	* doc/autoconf.texi (Parenthesis): Update documentation to reflect
	what Posix 1003.1-2008 says about "((".

2010-10-20  Eric Blake  <eblake@redhat.com>

	docs: document dash bug in <>
	* doc/autoconf.texi (File Descriptors): Dash 0.5.5 truncates on
	<>; at least this was fixed in dash 0.5.6.

2010-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	tests: avoid AC_CACHE_CHECK test failure with dash.
	* tests/base.at (AC_CACHE_CHECK): Normalize configure exit
	status in presence of syntax error in sourced site file.
	Do not error out if configure is aborted at this point.
	Fixes testsuite failure with dash 0.5.5.1.

2010-10-08  Eric Blake  <eblake@redhat.com>

	AS_LITERAL_IF: Treat raw = as literal again.
	* lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Treat = like +.
	* tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP)
	(AS@&t@_LITERAL_IF): Expand tests.
	* NEWS: Document the fix.
	Reported via Ben Pfaff; originally https://bugs.debian.org/593838

2010-09-24  Joshua G. Hale  <jgh.emc@gmail.com>  (tiny change)

	docs: fix typo in AC_CONFIG_FILES example code.
	* doc/autoconf.texi (Configuration Actions): Fix typo.
	* THANKS: Update.

2010-10-05  Eric Blake  <eblake@redhat.com>

	doc: suggest a few more workarounds
	* doc/autoconf.texi (Limitations of Usual Tools) <tr>: Mention
	that 'redundant' brackets can work around Solaris bug.
	(File Descriptors): Mention that {} works as well as () for
	silencing file-not-found warnings.
	* THANKS: Update.
	Suggested by Pádraig Brady.

2010-09-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	tests: normalize trailing spaces in gcc -E -dD output.
	* tests/compile.at (AC_LANG_SOURCE example)
	(AC_LANG_PROGRAM example): Remove trailing spaces before
	comparing with expected output.  Fixes testsuite failure
	with GCC 2.95.3 on Haiku.
	Report by Scott McCreary.

2010-09-22  Eric Blake  <eblake@redhat.com>

	Release Version 2.68.
	* NEWS: Mention the release.

2010-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	autom4te: add traces for likely future Automake macros
	* lib/autom4te.in (Automake-preselections): Trace
	AM_MAKEFILE_INCLUDE, AM_NLS, AM_POT_TOOLS, AM_PATH_GUILE,
	AM_PROG_MOC, AM_XGETTEXT_OPTION, _AM_MAKEFILE_INCLUDE.

2010-09-22  Eric Blake  <eblake@redhat.com>

	AC_REPLACE_FUNCS: allow split lines again
	* lib/autoconf/functions.m4 (AC_REPLACE_FUNCS): Flatten newlines
	and move guts...
	(_AC_REPLACE_FUNCS): ...to new helper.
	* tests/semantics.at (AC_REPLACE_FUNCS): Enhance test.
	Reported by Ralf Wildenhues.

2010-09-21  Eric Blake  <eblake@redhat.com>

	AC_LIBOBJ: optimize internal use
	* lib/autoconf/general.m4 (_AC_LIBOBJ): Move literal check...
	(AC_LIBOBJ): ...into callers.
	* lib/autoconf/functions.m4 (_AC_REPLACE_FUNC): Likewise, thus
	avoiding a second call to AS_LITERAL_IF.

	AC_REPLACE_FUNCS: restore shell loop for non-literal
	* lib/autoconf/functions.m4 (AC_REPLACE_FUNCS): Handle
	non-literals, which was lost in 2010-02-26 optimization.
	* tests/semantics.at (AC_REPLACE_FUNCS): Enhance test.
	* NEWS: Document the fix.
	* THANKS: Update.
	Reported by Wiseman Jun.

	maint: resync upstream files
	* build-aux/gendocs.sh: Resync via 'make fetch'.

	tests: XFAIL in the face of a MacOS X bug
	* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Mention
	the issue.
	* tests/torture.at (Substitute and define special characters):
	Detect if sed cannot process 8-bit bytes in the C locale.
	* THANKS: Update.
	Reported by Rochan.

2010-09-20  Eric Blake  <eblake@redhat.com>

	autom4te: don't filter out portions of location traces
	* bin/autom4te.in (_m4_warn): Pass warnings through the channels
	machinery as a single chunk, to avoid partial filtering.
	* lib/m4sugar/m4sugar.m4 (_m4_warn): Document the conventions.
	* tests/m4sugar.at (m4@&t@_warn): Enhance test to catch this.
	Reported by Bruno Haible.

2010-09-17  Eric Blake  <eblake@redhat.com>

	build: support autobuild
	* cfg.mk (gnulib-update): Add autobuild.m4.
	* configure.ac (AB_INIT): Output autobuild header.
	* m4/autobuild.m4: New file, from gnulib.
	* build-aux/config.guess: Resync from upstream.
	* build-aux/config.sub: Likewise.
	* build-aux/texinfo.tex: Likewise.
	* doc/fdl.texi: Likewise.
	* doc/gnu-oids.texi: Likewise.
	* doc/make-stds.texi: Likewise.
	* doc/standards.texi: Likewise.
	* build-aux/gendocs.sh: Likewise.

	config.status: avoid corrupting $ac_t
	* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): Use a
	different name, so as not to clash with pre-2.50 usage of "$ac_t"
	as a tab character.
	Reported by Sam Steingold.

2010-09-17  Bruno Haible  <bruno@clisp.org>

	docs: mark several macros obsolete
	* doc/autoconf.texi (Particular Functions): Mark AC_FUNC_ERROR_AT_LINE,
	AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_MKTIME, AC_FUNC_STRTOD
	as obsolete and refer to Gnulib.
	* NEWS: Mention the change.

	AC_FUNC_STRNLEN: more realistic cross-compilation guess
	* lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): Require
	AC_CANONICAL_HOST. When cross-compiling, guess it works everywhere
	except on AIX.

2010-09-16  Eric Blake  <eblake@redhat.com>

	m4sh: fix today's AS_BOX regression
	* lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Fix underquotation.
	Reported by Stefano Lattarini.

	fortran: avoid misparsed FCLIBS from Fortran compiler
	* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Also skip
	'Configured by:' lines from gfortran.
	* NEWS: Mention it.
	Reported by Stefano Lattarini.

2010-09-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	Add autom4te trace for AM_PROG_AR.
	* lib/autom4te.in (Automake-preselections): Trace
	AM_PROG_AR.

2010-09-16  Eric Blake  <eblake@redhat.com>

	m4sugar: fix regression in AC_MSG_ERROR expansion
	* lib/m4sugar/m4sugar.m4 (m4_defun_init): Avoid macro
	concatenation on subsequent expansions
	* tests/m4sh.at (AS_WARN and AS_ERROR): New test.
	* tests/m4sugar.at (m4@&t@_require: one-shot initialization):
	Enhance test.
	* NEWS: Document the fix.
