Update the helper scripts to the versions from automake 1.14.1.

The build helper scripts are from a different version of automake than
the version used to generate the Makefile.in files.  This patch brings
them into line.

ChangeLog:

	* INSTALL: Take latest version from automake 1.14.1.
	* build-aux/config.guess: Likewise.
	* build-aux/config.sub: Likewise.
	* build-aux/depcomp: Likewise.
	* build-aux/mdate-sh: Likewise.
	* build-aux/missing: Likewise.
	* build-aux/texinfo.tex: Likewise.
Update libtool.m4 file to a more recent version of libtool (2.4.2).

I couldn't figure out which version of libtool the libtool.m4 file we
have was from, but it seems pretty old.  This brings the file upto a
more recent version of libtool and regenerates the configure file.

ChangeLog:

	* m4/libtool.m4: Import latest from libtool 2.4.2.
	* configure: Regenerate.
Remove execute permissions from header file.

ChangeLog

	* src/trio-snprintf/triop.h: Change file mode to remove
	execute permissions.
Turn on maintainer mode by default.

Having maintainer mode on is a good thing, the auto-tools should just
do the right thing.  If this is an issue then maintainer mode can
still be turned off at configure time with '--disable-maintainer-mode'.

ChangeLog:

	* configure.ac: Turn on maintainer mode by default.
	* configure: Regenerate.
Add doc/stamp-vti to the gitignore list.

The doc/stamp-vti file is created as part of the documentation
process, and should be ignored.

ChangeLog:

	* .gitignore: Add doc/stamp-vti.
Move AM_INIT_AUTOMAKE macro and require automake 1.11 or later.

My understanding is that AM_INIT_AUTOMAKE should be called before
calling other AM_* macros, though what we have appears to work I've
moved the AM_INIT_AUTOMAKE macro earlier in the file as I believe this
is correct.

I've also make automake 1.11 or later a requirement, this is still
pretty old, but is needed to support AM_SILENT_RULES which I'm going
to add in a later patch.

ChangeLog:

	* configure.ac: Move AM_INIT_AUTOMAKE earlier in the file, require
	automake 1.11 or later.
	* configure: Regenerate.
Turn on AM_SILENT_RULES by default.

The build output is much reduced, the output is now like this:
       CC     somefile.o
       CC     otherfile.o
       CCLD   some-exe

You can still get back the full compiler command if you want by using
'make V=1', or alternatively, configure with '--disable-silent-rules'
to turn this feature off at configure time, then just use 'make'.

ChangeLog:

	* configure.ac: Turn on AM_SILENT_RULES.
	* configure: Regnerated.
Extend, don't replace, the EXCLUDED_BENCHMARKS list in the chip config.

The per-chip config file currently replaces the EXCLUDED_BENCHMARKS
list, preventing the user extending the list at configure time.  This
patch makes the per-chip list include any existing exclusions.

ChangeLog:

	* config/avr/chips/atmega328p/chip.cfg (EXCLUDED_BENCHMARKS):
	Include any existing benchmarks in the chip specific list.
General clean up of the configure.ac script, and new libtool rule in Makefile.

This patch pulls in most of the interesting changes from 1951946, it
is a spring clean of the configure.ac script, and adds a new libtool
rule to Makefile.am.

There should be no significant user visible changes after this
commit.

ChangeLog:

	* configure.ac: Add GPL header.  Change contact email address.
	Remove unused argument simulate.  Move AC_CANONICAL_SYSTEM
	earlier
	in the script to resolve an autoreconf warning.  Use host_cpu
	rather than target_cpu.  Remove custom cross-compiler support,
	rely instead on the default checks.  Remove use of
	AC_PROG_LIBTOOL, and make LIBTOOL_DEPS available.  Finally,
	say
	'host' rather than 'target' in the summary message, to better
	match the auto-tools usage of those words.
	* Makefile.am: Add rule for regenerating libtool.
	* configure, Makefile.in, doc/Makefile.in, src/*/Makefile.in:
	Regenerate.
Remove unwanted binary file.

Binary file was inadvertently added to the repository as part of
commit b5d99ff42, remove.

ChangeLog:

	* src/nbody/a.out: Delete.
Add support for Wall and Werror, turn these on by default.

This patch adds the Wall and Werror flags into the CFLAGS used to
build the tests.  These flags can be turned off at configure time
using the flags '--disable-werror' and '--disable-build-warnings'.
Currently, almost every test fails to build due to errors and/or
warnings, so these flags will be needed in order to get BEEBS to
build.

ChangeLog:

	* configure.ac: Add support for Wall and Werror.
	* src/common.mk.am: Add the warning and error flags into the
	AM_CFLAGS.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* doc/Makefile.in: Regenerate.
	* src/*/Makefile.in: Regenerate.
Add GPL headers to board/chip configuration files, and dejagnu site file.

Small step towards marking all files as GPL.

ChangeLog:

	* config/arm/boards/stm32f0discovery/board.cfg: Add GPL header.
	* config/arm/boards/stm32vldiscovery/board.cfg: Likewise.
	* config/avr/chips/atmega328p/chip.cfg: Likewise.
	* config/arm/chips/stm32f051/chip.cfg: Likewise.
	* config/arm/chips/stm32f100/chip.cfg: Likewise.
	* dejagnu/site.exp.in: Likewise.
Fix GPL headers in test makefile fragments.

This patch adds GPL headers where they were missing, or fixes the
whitespace around existing headers if it was non-standard.  The
Makefile.in files were then regenerated.

ChangeLog:

	* analysis/Makefile.am, src/common.mk.am, src/*/Makefile.am: Add
	GPL header, or fix whitespace in existing header.
	* src/*/Makefile.in: Regenerate.
Fix build warning: Return type of function.

Fill in the return type of a function.

ChangeLog:

	* src/bs/bs.c (binary_search): Add return type to function.
Fix build warnings in bsort100.

Forward declare function, remove unused variables.

ChangeLog:

	* src/bsort100/bsort100.c (Initialize): Add declaration.
	(benchmark): Remove unused variables, and commented out code.
	(BubbleSort): Add declaration.  Remove unused variables.
Fix build warnings in bubblesort.

Forward declare functions, remove unused variables.

ChangeLog:

	* src/bubblesort/bubblesort.c (Inisialize): Add declaration.
	(BubbleSort): Add declaration, remove unused variables.
Fix build warnings in cnt.

Remove unused variables.

ChangeLog:

	* src/cnt/cnt.c (Test): Remove unused variables.
Fix build warnings in compress.

Duplicate #defines.

ChangeLog:

	* src/compress/compress.c (HSIZE, BITS): Remove duplicate
	definitions, use last definition for HSIZE, BITS was always 16.
	(PBITS): Unused, so remove.
Fix build warnings in crc.

Undefined code, and unused variables.

ChangeLog:

	* src/crc/crc.c (icrc1): Rewrite undefined code.
	(benchmark): Discard unused variable by casting to void.
Fix compiler warnings in crc32.

Missing include and unused variables.  The unused variable
check_output has been commented out rather than removed as the TODO
comment suggests that there is some other issue to investigate in this
test.
When we revisit the TODO comment later the commented out code will
either be fixed and re-enabled, or removed.

ChangeLog:

	* src/crc32/crc_32.c: Add include for stdlib.h.
	(main): Comment out check_output, cast defined but unused
	variable 'output' to void.