diff configure @ 1008:1b6e183b8a87

add HAVE_ALSA5 var. Sorry :(
author pontscho
date Mon, 04 Jun 2001 18:43:35 +0000
parents 57972eb8127a
children d1e70889094e
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