summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-09-04 17:27:09 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-09-05 18:54:53 +0800
commitda6e569916628c38e7ddd2609e53bd619b3602cf (patch)
treeb077d4d5635973718589ee19477c4fc498ee6b38 /configure
parenta2dbd857333b480c383cc1531ff3b0260636b45e (diff)
configure: fix --disable-alsa can't work
fix --disable-alsa can't work in configure Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index b5bff39438..3ef8f4ea47 100755
--- a/configure
+++ b/configure
@@ -6486,8 +6486,8 @@ else
EOF
fi
-enabled alsa && check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp ||
- check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound
+enabled alsa && { check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp ||
+ check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound; }
enabled libjack &&
require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range