summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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