Fix test for mfiltercc on Solaris.

On Solaris, the 'which' utility does not return a non-zero exit status
to indicate that the program (in this case, "mfiltercc") was not found,
so we ended up treating its error message output as a path.

scripts/mgnuc.in:
	Don't use 'which'.  Simply try to run any copy of mfiltercc on
	the PATH, with empty input.
Pass AR, RANLIB down to libatomic_ops build system.

This allows AR and RANLIB to be overridden.

boehm_gc/Makefile.direct:
boehm_gc/build_atomic_ops.sh:
	As above.
Avoid grep -q in configure.

The Solaris implementation of grep still doesn't support the -q option.

m4/mercury.m4:
	As above.
Documentation improvements for non-C backends.

README.CSharp:
	Delete the note about the C# backend being an experimental feature.

	Add a paragraph describing the situation with different versions
	of the .NET libraries on Mono.

	Emphasise that you must use mmc --make with the C# backend.

README.Java:
	Delete the note about the Java backend being an experimental feature.

	Emphasise that you must use mmc --make with the Java backend.

README.Erlang:
	Emphasise that you must use mmc --make with the Erlang backend.

configure.ac:
	Reword the documentation of --with-csharp-compiler.
Fix typos in documentation for string.unsafe_index_code_unit.

library/string.m:
	As above.
Work around `isinf' link error on Solaris.

On Solaris, `isinf' is detected by configure but we pass -fno-builtin
for global registers on x86/x86-64, and that causes an undefined
reference to `isinf' when linking.

configure.ac:
runtime/mercury_conf.h.in:
	Check for existence of `finite'.

runtime/mercury_conf_param.h:
	Define MR_SOLARIS if appropriate.

runtime/mercury_float.c:
	Don't use `isinf' or `isinff' on Solaris.

	Add a better `MR_is_inf' fallback using `finite'.
Update the NEWS file for 13.05.1

NEWS:
	As above.
Provide MSVC specific definitions for MS_is_nan and MR_is_inf.

runtime/mercury_float.c:
	As above.
Fix a typo.

runtime/mercury_float.c:
	s/_FPCLASS_INF/_FPCLASS_PINF/
Fix a problem with generating the manual pages on Mac OS X.

doc/make_manpage:
	BSD sed has problems with line continuations in some cases.
	Avoid using them where this is an issue.
Fix bug #287: remove configure script dependency on m4

configure.ac:
	Use sed to create the test version of mdbrc rather than
	m4.  (The configure script already assumed the presence
	of sed.)
Replace deprecated function in test.

tests/valid/exists_cast_bug.m:
	Replace version_array.new by version_array.init.
Add a hint about trace count file names.

doc/user_guide.texi:
	Under "Coverage testing", say how trace count files are named by
	default.  This repeats information from the section "Generating
	trace counts" but saves the user (me) from wondering if coverage
	testing actually worked -- trace count files are prefixed with
	"." by default so a simple "ls" won't show them.
Make some cord functions tail recursive.

Make these functions tail recursive:

	cord.list
	cord.rev_list
	cord.cord_list_to_cord
	cord.cord_list_to_list

library/cord.m:
	As above.
Add test case for cords.

Test the recently changed functions more comprehensively:
cord.list, cord.rev_list, cord.cord_list_to_cord, cord.cord_list_to_list.

The existing test_cord.m is deficient, and did not reveal a bug in the
previous implementation of cord.rev_list (the non-tail-recursive one).

tests/hard_coded/Mmakefile:
tests/hard_coded/test_cord2.exp:
tests/hard_coded/test_cord2.m:
        Add test case.
Delete an unused module.

compiler/inst.m:
	Delete this module.  It's been empty for a long time.
	(We only kept the file around in order to avoid problems with CVS.)
Begin a section in the NEWS file for the 13.05.2 release.

NEWS:
	Mention the recent changes to the cord module.
Add a warning about build directories that contain spaces.

.INSTALL.in:
	Mention that trying to build Mercury from a source tree
	in a directory whose absolute pathname contains spaces
	will not work.
Fix bug #288.

Components of the Mercury system that were implemented directly in C were not
respecting the mmake LDFLAGS and EXTRA_LDFLAGS variables (or LD_LIBFLAGS,
EXTRA_LDLIBFLAGS for libraries).

The following patch was contributed by Keri Harris -- I have extended it
slightly to fix some omissions in the handling of .dylib files (i.e.  Mac OS X
style shared libraries).

NEWS:
    Announce the resolution of bug #288.

boehm_gc/Makefile.direct:
runtime/Mmakefile
trace/Mmakefile:
util/Mmakefile:
	Pass options set via LD_FLAGS or EXTRA_LDFLAGS (or the library
	versions) to the linker when building executables (or shared
	libraries) in these directories.
Delete an unused module.

compiler/smm_fixpoint_table.m:
	Delete this module.  It has been unused since its contents
	were merged with a similar module in the CTGC system.

compiler/transform_hlds.m:
compiler/Mercury.options.m:
	Conform to the above change.