configure: fix --disable-alsa can't work

fix --disable-alsa can't work in configure

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
Jun Zhao 2019-09-04 17:27:09 +08:00
parent a2dbd85733
commit da6e569916

4
configure vendored
View File

@ -6486,8 +6486,8 @@ else
EOF EOF
fi fi
enabled alsa && check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp || enabled alsa && { check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp ||
check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound; }
enabled libjack && enabled libjack &&
require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range