Implemented bz2 as shared library.
It's original libzip2 1.0.6 + some wrappers from Fredrik Wikstrom
(malloc.c, semaphores.c) from diskimage device + our usual *.conf file.
The order of functions in the *.conf file is the same as of that in
the SFD file of diskimage device's bz2.library.
It replaces libbz2.a + libbz2_nostdio.a. The shared library is build
with with NOSTDIO option. The header bzlib.h includes <proto/bz2.h>.
Linking with the new libbz2.a will silently open the new shared library.
Only problem I could find so far is that contrib/pack/bzip2
fails to build because of missing functions because of the NOSTDIO option.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@44764 fb15a70f-31f2-0310-bbcc-cdcc74a49acc