changeset 1008:1b6e183b8a87

add HAVE_ALSA5 var. Sorry :(
author pontscho
date Mon, 04 Jun 2001 18:43:35 +0000
parents e2de3386725f
children c51d7e4853d6
files configure
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Jun 04 18:42:31 2001 +0000
+++ b/configure	Mon Jun 04 18:43:35 2001 +0000
@@ -1166,8 +1166,10 @@
 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 @@
 $_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