shut off oss completely; ok pval@

This commit is contained in:
niklas 2002-05-12 18:50:46 +00:00
parent 9cdd620436
commit 3001b38093
2 changed files with 14 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2002/05/12 08:25:56 pvalchev Exp $
# $OpenBSD: Makefile,v 1.10 2002/05/12 18:50:46 niklas Exp $
# May not be hard to add more.
ONLY_FOR_ARCHS= i386 macppc
@ -38,7 +38,7 @@ CONFIGURE_ARGS+=--as=${LOCALBASE}/${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}/bi
--disable-alsa \
--disable-vorbis \
--disable-aa \
--disable-oss \
--disable-ossaudio \
--enable-select \
--enable-gl \
--enable-gui \

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.3 2002/05/12 08:25:57 pvalchev Exp $
--- configure.orig Fri May 3 16:13:06 2002
+++ configure Sun May 12 02:22:52 2002
$OpenBSD: patch-configure,v 1.4 2002/05/12 18:50:46 niklas Exp $
--- configure.orig Sat May 4 00:13:06 2002
+++ configure Sun May 12 20:08:33 2002
@@ -1390,8 +1390,8 @@ if test "$_malloc" = yes ; then
else
_def_malloc='#undef HAVE_MALLOC_H'
@ -12,6 +12,15 @@ $OpenBSD: patch-configure,v 1.3 2002/05/12 08:25:57 pvalchev Exp $
echores "$_malloc"
@@ -1522,7 +1522,7 @@ else
fi
echores "$_sys_soundcard"
-if test "$_sys_soundcard" != yes ; then
+if test "$_sys_soundcard" != yes -a "$_ossaudio" != no; then
echocheck "soundcard.h"
cat > $TMPC << EOF
#include <soundcard.h>
@@ -3522,8 +3522,11 @@ test "$_xanim" = yes && _ld_dl_dynamic='
_ld_arch="$_ld_arch $_ld_pthread $_ld_dl $_ld_dl_dynamic"