configure does not detect id3lib in some distributions (Suse, Fedora, maybe others), whereas it is detected by other distributions (Ubuntu, Debian). This can be fixed by linking the id3lib check program with zlib.
When configure does not detect id3lib, it does not report an error, it just configures Kid3 to be built without id3lib. This is also the case with the other optional libraries (TagLib, tunepimp, libvorbis, libFLAC++). It may be useful to build Kid3 with only a selected set of supported formats, but the user should be aware of it. Therefore I no longer consider this silent adaptation to the build environment a feature, but rather a bug. The user should explicitly set an option if he or she wants to build kid3 without a specific library.
This patch fixes both issues. The id3lib check is linked with zlib. If one of the libraries mentioned above is not found, an error is reported and the user is advised to either install the corresponding development package or disable it with the appropriate option.
TagLib: install package libtag1-dev or taglib-devel, or use --without-taglib
id3lib: install libid3-3.8.3-dev or id3lib-devel, or use --without-id3lib
tunepimp: install libtunepimp3-dev or libtunepimp-devel, or use --without-musicbrainz
libvorbis: install libvorbis-dev or libvorbis-devel, or use --without-vorbis
libFLAC++: install libflac++-dev or flac-devel, or use --without-flac
Patch for configure to detect id3lib