Check for libm in a way that shouldn't explode on BeOS
Tweak the sound driver detection tests

Test for the available possibilities in the code in the same order that
we use when including the headers.  This ensures that BSDs which test
positive for both sndio and oss compat won't include the headers for one
and the code for the other.  The sndio support was added in commit
064bb2176518117531e0032747128761a19e5439, but only preferred sndio when
including the headers.

Enable the OSS code for all the possible HAVE_*_SOUNDCARD_H options.
A more comprehensive test and additional macros were added in commit
a0c500527daa6a8638eabac382810b1c42f442a2, but only to include the
headers, not to also enable the relevant code.
Replace INCLUDES with AM_CPPFLAGS

Automake 1.13 complains that INCLUDES is obsoleted now.
Converts opusenc to the new multistream surround encoder API

Channel mapping is now determined automatically by libopus.
This breaks the --uncoupled option because opusenc no longer
has any control over the mapping.
Opus-tools now requires libopus 1.0.3 or later.

This updates the configure.ac requirements for the last patch from
 JM, and also fixes the unused variable warnings it created.
Doc improvements for --bitrate, and a --quality alias for it.
Revert "Doc improvements for --bitrate, and a --quality alias for it."

This reverts commit 3138cb7c9a8b108a9609d53ad56ae6391130af79.
Always try to update the version when autogen.sh is run

This avoids at least one case where ./autogen.sh && ./configure && make
will re-run configure because the makefile rules updated something that
it depends upon. Pulling a new version from git will change the version
so we should update that at the first step rather than iterating after
the last one.
Doc improvements for --bitrate.

Include the doc fixes from 3138cb7c9a8b108a9609d53ad56ae6391130af79,
even if people don't want the --quality alias after all.
Ask genversion.bat to generate PACKAGE_VERSION.

It was still defining VERSION in the Visual Studio project files,
which hadn't been updated for this change.
Update opus library paths for the new project files.

Garf's new project files build things in win32/VSnnnn/ instead
of the top level. Also updates the ogg paths to use defines
instead of hard-coding release and platform tags.
Add picture.c to the Visual Studio project files.
Silence mvsc posix warnings.
Bump version.
Don't include OPUS_CFLAGS and OPUS_LIBS twice
Don't overlink everything with flac

Only opusenc uses it at present.
Be consistent with the order we include dependencies

This should have no real functional change at this point in time,
but it's clear that Ogg will never depend on Opus.  The reverse is
likely to remain true, but less axiomatic.
Remove unused file NEWS.

GNU autotools used to enforce some coding standards, but I don't
see a warning about not having this or a changelog now.
Add wave_out to VERSIONED_OBJS.

wave_out.c also references PACKAGE_NAME and PACKAGE_VERSION.
Actually enable flac support in the unix build.

Previously we linked to flac, but didn't set the enabling CFLAG.