[FFmpeg-devel] [PATCH] configure: link flite against libasound

jamal jamrial at gmail.com
Fri Oct 12 01:31:45 CEST 2012


On 11/10/12 6:23 AM, Stefano Sabatini wrote:
> Tested, applied, and reverted.
> 
> See commit log for details.
> 
Check the attached diff file, it should work for every case regardless of libflite having ALSA support or not.

Regards
-------------- next part --------------
diff --git a/configure b/configure
index 5aa891b..4cd85b2 100755
--- a/configure
+++ b/configure
@@ -3619,6 +3619,7 @@ fi
 check_lib math.h sin -lm && LIBM="-lm"
 disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd
 enabled vaapi && require vaapi va/va.h vaInitialize -lva
+enabled_any alsa_indev alsa_outdev && check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound
 
 check_mathfunc cbrtf
 check_mathfunc exp2
@@ -3772,8 +3773,6 @@ EOF
 fi
 check_header soundcard.h
 
-enabled_any alsa_indev alsa_outdev && check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound
-
 enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack && check_func sem_timedwait &&
     check_func jack_port_get_latency_range -ljack
 


More information about the ffmpeg-devel mailing list