summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-06-25 23:21:40 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-06-25 23:21:40 +0000
commitc2b3565e4a1b97194796f8966ca1f2383729ee9b (patch)
treea019d68bee20436cd23a0d5c2f68dc64504ba685 /configure
parent30b1fff69c6a401569f8b2160ebb9dfd2c2aac88 (diff)
Only link against alsa if enabled.
Originally committed as revision 19278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 381d87f3a0..3eaa8f8c82 100755
--- a/configure
+++ b/configure
@@ -2213,7 +2213,7 @@ check_header dev/ic/bt8xx.h
check_header sys/soundcard.h
check_header soundcard.h
-check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound
+enabled alsa_demuxer || enabled alsa_muxer && check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound
enabled jack_demuxer && check_lib2 jack/jack.h jack_client_open -ljack