Repairs test_grabbag.sh

The change from /bin/sh to /bin/bash -e (commit 1d3d50) broke
the cuesheet tests. This should fix it

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Using uintptr_t to simplify pointer handling a little bit

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Fix pragma warning.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
Move FLAC__STRCASECMP definition to compat.h.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
src/test_seeking : Remove un-needed local__strtoull.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
Remove _MSC_VER specific FLAC__I64L definition.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
Whitespace.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
lpc_asm.nasm : Whitespace.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
libFLAC/format.c : Remove MSVC6 specific hack.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
stream_encoder/decoder : Comment fixes.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
libFLAC/cpu.c : Detect SSE correctly on Windows when compiling with MinGW.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
Slight improvements to application metadata tests.
configure.ac : Make --enable-sse the default.

SSE can still be disabled by configuring with --disable-sse but SSE
will be enabled by default.
Add a test to validate that FLAC__MD5Final clears the MD5Context.

Closes: https://sourceforge.net/p/flac/bugs/407/
Fix build issue on OSX with GCC 4.2/Xcode.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
configure.ac : Add AC_PROG_MKDIR_P.

Closes: https://sourceforge.net/p/flac/bugs/404/
configure.ac : Add -Wunreachable-code to GCC CFLAGS.
Attempt to fix differences between x86 FPU and SSE calculations.

The x86 FPU holds intermediate results in larger registers than what
the SSE unit uses, resulting in slighlty different encodings of audio
data. Attempt to fix this by modifying libFLAC/lpc.c to store calculation
results in a FLAC__read before adding it to a sum.

At the moment this works, but I could easily imagine a new version of
the compiler optimising this store to the FLAC__real away leaving us
in the same situation we have now.

Patch-from: Oliver Stöneberg on sourceforge.net
Closes: https://sourceforge.net/p/flac/bugs/409/
Revert "Attempt to fix differences between x86 FPU and SSE calculations."

This reverts commit 70b078cfd5f9d4b0692c33f018cac3c652b14f90.

The code in the patch we're reverting probably only works for one
compiler and could easily stop working with the next release of
that compiler.
metadata_object.c : Fix handling of zero length vorbis comment string.

Previously if a zero length string was passed in, the pointer would be
stored regardless of the copy parameter. If the original source pointer
was reassigned to something else bad things could happen.

Closes:  https://sourceforge.net/p/flac/bugs/377/