Properly terminate a comment

This avoids a warning about /* within a comment, when building with
-Wall (as it is built in android).
Upstream commit "Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)"

Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3

Adapted from upstream commit 06ade6ae1bd015e8b8ad0685847911213c93cc5b.
Upstream commit "Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)"

Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb

Adapted from upstream commit a51f0e707f1f3142358aa919ea60ad2842803139.
Upstream commit "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)"

Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924

Adapted from upstream commit c6aacce37191e1cc79cfeba13b39899f59c68c3b.
Fix make dist
Export the external symbols via the libtool -export-symbols option
Avoid a division by zero

In rare cases, the result of normFactor * (*psfbNActiveLines)
could be zero, leading to a division by zero in pow2_xy.

In these cases, normFactor was INT_MIN, and if *psfbNActiveLines
was 2, the product was zero.

normFactor being INT_MIN is a bug in itself though.
Avoid overflows when calculating normFactor

normFactor is calculated using the saturating L_add function,
but if the value added (*psfbPeFactors) is negative, the sum
can end up negative.

*psfbPeFactors can end up negative if redThrExp is less than
*psfbNActiveLines.

In cases where *psfbPeFactors ended up negative, normFactor
became INT_MIN, causing division by zero later.
Fix an inline asm constraint

Output-only parameters should use =r or =&r constrains, never +r.

This avoids a warning about the variable 'result' being used
uninitialized.

This avoids loading the uninitialized value into the register,
before it is overwritten by the multiplication.
Fix the inline asm constraint properly

This actually doesn't require =&r, =r is enough.
Update config.{sub,guess} to the latest version

Reinstalled them by calling "automake --add-missing -c -f".
Update the libtool files with libtool 2.4.2

Updated by calling "libtoolize -c -f".
Update automake files to even newer ones

Updated by calling "automake --add-missing -c -f".
Add a changelog entry for 0.1.2, bump the version numbers
Revert "Do zero initialization without memset"

This reverts commit 0ba946dc8c82dfc3c1f32044d2b1628dfda37ab8.

Doing the zero initialization with a plain = { 0 } causes
warnings about missing braces around initializer, when building
with -Wall (as the source is built in android).
Remove stray tabs
Simplify the definition of __inline

This reduces the amount of ifdefs needed, into something
that works on both gcc on all tested platforms, and on MSVC.
Remove a stray semicolon

This avoids warnings about an empty body in an if statement, if
building with -W (as the source is built in android).

mem_free does the same null check, so the accidental extra
semicolon was harmless, and the whole if statement actually
is needless.
Add prototypes for arm specific implementations of functions

This fixes compiler warnings about implicit declarations
of these functions.
Change a ~0 into 0xffffffff in the bitstream writer safeguard

This was requested in the review when contributing this code
back to android.