updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / sphinxbase-svn-oss / configure.in.oss.patch
blob7cd9de6f4501c8114e8c82fae40d5dbae052e08c
1 --- configure.in 2010-03-05 01:19:30.025180380 +0100
2 +++ configure.in.new 2010-03-05 01:23:42.191831027 +0100
3 @@ -154,18 +154,8 @@
4 if test "x$ad_files" = "x"; then
5 case $host in
6 *-*-linux*|*-*-uclinux*)
7 - # Check for ALSA, fall back to OSS
8 - AC_CHECK_HEADER(alsa/asoundlib.h,[
9 - AC_DEFINE(AD_BACKEND_ALSA, [],
10 - [Use ALSA library for sound I/O])
11 - ad_files="ad_alsa.lo"
12 - ad_backend="AD_BACKEND_ALSA"
13 - AC_CHECK_LIB(asound, snd_pcm_open)],[
14 - AC_DEFINE(AD_BACKEND_OSS, [],
15 - [Use OSS for sound I/O])
16 - ad_files="ad_oss.lo"
17 - ad_backend="AD_BACKEND_OSS"
18 - ])
19 + AC_DEFINE(AD_BACKEND_OSS, [],
20 + [Use OSS for sound I/O])
21 + ad_files="ad_oss.lo"
22 + ad_backend="AD_BACKEND_OSS"
24 # FIXME: isn't this the same OSS as on Linux?
25 *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)