summaryrefslogtreecommitdiff
path: root/audio/sphinxbase/files/patch-configure
blob: f536d39e1773133f4d3f34ff4841c3e717e82edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- configure.orig	2009-07-13 10:53:01.000000000 -0500
+++ configure	2009-07-13 10:54:06.000000000 -0500
@@ -7166,7 +7166,8 @@
 
 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"
 
@@ -7175,17 +7176,6 @@
 _ACEOF
 
                         ;;
-                # 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"
-
-cat >>confdefs.h <<\_ACEOF
-#define AD_BACKEND_OSS_BSD
-_ACEOF
-
-                        ;;
                 *-*-osf*)
                         ad_files="ad_osf.lo mulaw_base.lo"
                         ad_backend="AD_BACKEND_OSF"