summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-04 18:43:35 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-04 18:43:35 +0000
commit5c4673d96aaff51e84c02e00a045308691e6e22d (patch)
tree08152c01da0ecad52b250e13f54a80838484b1b2 /configure
parent9e143e2a3918b7a5efe60743da1e0326cbd1362d (diff)
downloadmpv-5c4673d96aaff51e84c02e00a045308691e6e22d.tar.bz2
mpv-5c4673d96aaff51e84c02e00a045308691e6e22d.tar.xz
add HAVE_ALSA5 var. Sorry :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1009 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 2bf6e89ebd..bcb1dd1363 100755
--- a/configure
+++ b/configure
@@ -1166,8 +1166,10 @@ else
fi
if [ $_alsaver != 'not found' ]; then
- [ $_alsaver == '0.5.x' ] && { _aosrc="$_aosrc ao_alsa5.c"; }
+ [ $_alsaver == '0.5.x' ] && { _aosrc="$_aosrc ao_alsa5.c"; $_alsa='#define HAVE_ALSA5'; }
# [ $_alsaver == '0.9.x' ] && { _aosrc="$_aosrc ao_alsa9.c"; }
+else
+ _alsa=' '
fi
cat > $CCONF << EOF
@@ -1238,6 +1240,9 @@ $_fastmemcpy
$_gui
#define PREFIX "$_prefix"
+/* ALSA support */
+$_alsa
+
/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE