[FFmpeg-devel] [PATCH] configure: link flite against libasound
jamrial at gmail.com
Sat Oct 13 01:21:01 CEST 2012
On 12/10/12 7:15 AM, Stefano Sabatini wrote:
> Unfortunately this doesn't work if --disable-indevs --disable-outdevs
> and libflite was statically compiled with alsa support, the patch
> might still be useful on its own and can't be hurtful.
Making the ALSA check not depend on alsa_in/outdev might solve this then.
For example adding a configure option for ALSA same way there's one for
openal. Using --enable-alsa is better than --extra-ldflags=-lasound IMO.
Only drawback is that alsa_in/outdev would then need the --enable-alsa
option same way openal_indev needs --enable-openal.
Alternatively we could make the check similar to the one for zlib
(Automatically enabled if available, unless explicitly disabled).
More information about the ffmpeg-devel