aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNicolas George <nicola.george@normalesup.org>2009-01-26 09:16:09 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2009-01-26 09:16:09 +0000
commit35fd81224aa8a80ffa4b17bd143fd6911924e8f6 (patch)
treeed0213baeb236386ab3d896922966d80ea271dc2 /configure
parent1db2c5c9efceef9fb250b772e69b58c5259fcb42 (diff)
downloadffmpeg-35fd81224aa8a80ffa4b17bd143fd6911924e8f6.tar.gz
Add ALSA support in libavdevice.
Patch by Nicolas George: name surname normalesup org Original thread: [FFmpeg-devel] [PATCH] ALSA for libavdevice Date: 12/09/2008 07:17 PM Originally committed as revision 16800 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 15f6370e20..43881cd12f 100755
--- a/configure
+++ b/configure
@@ -838,6 +838,7 @@ ARCH_EXT_LIST='
HAVE_LIST="
$ARCH_EXT_LIST
$THREADS_LIST
+ alsa_asoundlib_h
altivec_h
arpa_inet_h
bswap
@@ -1069,6 +1070,10 @@ vdpau_deps="vdpau_vdpau_h vdpau_vdpau_x11_h"
# demuxers / muxers
ac3_demuxer_deps="ac3_parser"
+alsa_demuxer_deps="alsa_asoundlib_h snd_pcm_htimestamp"
+alsa_demuxer_extralibs="-lasound"
+alsa_muxer_deps="alsa_asoundlib_h"
+alsa_muxer_extralibs="-lasound"
audio_beos_demuxer_deps="audio_beos"
audio_beos_demuxer_extralibs="-lmedia -lbe"
audio_beos_muxer_deps="audio_beos"
@@ -2044,6 +2049,9 @@ check_header dev/ic/bt8xx.h
check_header sys/soundcard.h
check_header soundcard.h
+check_header alsa/asoundlib.h &&
+check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound
+
# deal with the X11 frame grabber
enabled x11grab &&
check_header X11/Xlib.h &&