Bug 2358 - [Android] Joystick Button Mappings are strange (fix by David Brady)
Bug 2358 - [Android] Sort joystick axes - Fix by David Brady
autoconf script tweaks

- fix up chmodding sdl2-config
- remove duplicate enable_atomic section
- add pretty summary of what was found/enabled
correct grammar on UNIX missing dependency status notice.
quick fix for CMAKE SOVERSION number so it matches what is output by the configure script
Fixed typo in documentation.
Removed unused variable from Java class for Android.

The audio thread was moved to native side and "protected" prevented a warning.
[Android] Fixes Bug 2370, don't send accelerometer changes when
Android_JNI_GetAccelerometerValues return SDL_FALSE (thanks to Jairo Luiz)
Patched to compile on Windows when not supporting Direct3D.
Patched to compile...uh, everywhere.  :)
X11: Don't redraw dialog box when mouse moves.

This fixes bug #2343. (https://bugzilla.libsdl.org/show_bug.cgi?id=2343)

Thanks to Melker Narikka for the patch.