summaryrefslogtreecommitdiff
blob: bc8d25b89bc30697e0d9bf9678afdb090ffd8cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- configure.in	2009-08-15 06:46:38.000000000 +1000
+++ configure.in	2011-08-30 00:53:26.000000000 +1000
@@ -304,7 +304,6 @@
 	[  --with-audio          with specific audio support (none linux freebsd etc) ],
         AUDIODRIVER=$with_audio )
 
-if test "x$AUDIODEFS" = x; then
     case "$AUDIODRIVER" in
 	linux|oss)
 	    AUDIODRIVER=oss
@@ -325,9 +324,10 @@
 	    ;;
 	none)
 	    AUDIODEFS=-DCST_AUDIO_NONE
+	    AUDIOLIBS=
 	    ;;
     esac
-fi
+
 AC_SUBST(AUDIODRIVER)
 AC_SUBST(AUDIODEFS)
 AC_SUBST(AUDIOLIBS)