Calibration for each benchmark can be specified on a per board basis.

A calibration file can be specified in the config directory, which is
used at compile time to specify the per benchmark scaling factor.

    * configure.ac: Test whether a calibration file is present. If so,
        report which benchmarks are uncalibrated.
    * doc/beebs.info: Updated documentation to mention calibration, and
        the changed REPEAT_FACTOR
    * doc/beebs.texi: Updated documentation to mention calibration, and
        the changed REPEAT_FACTOR
    * include/support.h: Change REPEAT_FACTOR to BOARD_REPEAT_FACTOR and
        add new definition of REPEAT_FACTOR
    * src/common.mk.am: Grep through the calibration file to find the
        number needed, and add this to the CFLAGS for this benchmark.

    * src/*/Makefile.in: Regenerated
    * config.h.in: Regenerated
    * configure: Regenerated
Added initial calibration file for AVR shrimp

    * config/avr/boards/shrimp/calibration: Initial calibration file
        with values for 2dfir and crc32
Small fixes to build system for calibration

    * configure.ac: Fix: correctly use variable (missing $)
    * include/support.h: Define BOARD_REPEAT_FACTOR if the header does
        not
    * src/common.mk.am: Fix: Bracket the first expression, since ||
        takes precedence over |

    * configure: Regenerated
    * src/*/Makefile.in: Regenerated
Add support for building for x86_64 platforms.

This allows beebs to be configured and built for x86_64 platforms.
Configure as `./configure --with-chip=generic` after which `make`
should work.

ChangeLog

	* config/x86_64/chips/generic/chip.cfg: New file.
	* config/x86_64/chips/generic/chipsupport.h: New file.
Merge branch 'benchmark_calibration' of https://github.com/jpallister/beebs into jpallister-benchmark_calibration

Conflicts:
	ChangeLog
Merge branch 'jpallister-benchmark_calibration' into beebsv2
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.