The public header includes windows.h, which is not always desirable and
does not appear to be required. Only the WINAPI definition is required,
for the BZ API calling convention.
Switch from windows.h to wtypes.h + minwindef.h, which define WINAPI.
wtypes.h is required because only including minwindef.h brings in
winnt.h which causes problems.
Resolves: https://gitlab.com/bzip2/bzip2/-/issues/37
Increase the project version to 1.1.0 as this is a new feature version.
As for all new feature versions, increase the libtool .so version.
Only increase the revision, as no API's were added or removed.
It may look like I've increased it by 2, but that's because v1.0.8 used
Makefiles and was at 1:8:0.
See http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
This is a patch from Stanislav Bravec <sbrabec@suse.cz> that adds an autotools
build environment to bzip2. This lets libtool handle the construction of
the shared library.
The patch also adds a bzip2.pc.in template to build data for the pkg-config tool.