[MPlayer-dev-eng] supported ALSA versions

Clemens Ladisch clemens at ladisch.de
Mon Nov 14 13:03:01 CET 2011


Diego Biurrun wrote:
> That said, the ALSA check in configure is not very smart right now, it
> just checks that alsa/asoundlib is available and that we can link with
> -lasoundlib.  If there is a way to detect unsuitable 0.9 versions, I'm
> all ears.

0.9.0rc4 or later would be:
SND_LIB_VERSION > 0x000900 || (SND_LIB_VERSION == 0x000900 && SND_LIB_EXTRAVER >= 100004)

I'm not sure if you want to make the -lasound check more robust;
detecting inconsistent header/library versions is probably not the
purpose of configure.


Regards,
Clemens


More information about the MPlayer-dev-eng mailing list