summaryrefslogtreecommitdiff
path: root/audio/sphinxbase/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sphinxbase/files/patch-configure.in')
-rw-r--r--audio/sphinxbase/files/patch-configure.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/sphinxbase/files/patch-configure.in b/audio/sphinxbase/files/patch-configure.in
new file mode 100644
index 000000000000..bba277a6037e
--- /dev/null
+++ b/audio/sphinxbase/files/patch-configure.in
@@ -0,0 +1,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"