summaryrefslogtreecommitdiff
path: root/audio/sphinxbase/files/patch-configure.in
blob: bba277a6037e0ee14abeb810c536f7b886c7ddb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- configure.in	(revision 7550)
+++ configure.in	(working copy)
@@ -105,18 +105,12 @@
 
 if test "x$ad_files" = "x"; then
         case $host in
-                *-*-linux*|*-*-uclinux*)
+                *-*-linux*|*-*-uclinux*| \
+                *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
                         ad_files="ad_oss.lo"
                         ad_backend="AD_BACKEND_OSS"
 			AC_DEFINE(AD_BACKEND_OSS, [], [Use OSS interface for sound I/O])
                         ;;
-                # FIXME: isn't this the same OSS as on Linux?
-                *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
-                        ad_files="ad_oss_bsd.lo mulaw_base.lo"
-                        ad_libs="-lossaudio"
-                        ad_backend="AD_BACKEND_OSS_BSD"
-			AC_DEFINE(AD_BACKEND_OSS_BSD, [], [Use OSS interface for sound I/O])
-                        ;;
                 *-*-osf*)
                         ad_files="ad_osf.lo mulaw_base.lo"
                         ad_backend="AD_BACKEND_OSF"