1 && 2 || 3 is implicitly grouped as { 1 && 2; } || 3 as both && and || have equal precedence and are evaluated with left associativity.
Signed-off-by: Jan Beich <jbe...@freebsd.org> --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 1946bcb69c..ea6fa2c6dc 100755 --- a/configure +++ b/configure @@ -6331,8 +6331,10 @@ else EOF fi -enabled alsa && check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp || +if enabled alsa; then + check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp || check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound +fi enabled libjack && require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel