2003-07-17 16:29:13 -04:00
|
|
|
$OpenBSD: patch-configure.in,v 1.4 2003/07/17 20:29:14 naddy Exp $
|
|
|
|
--- configure.in.orig Thu Jul 17 19:00:08 2003
|
|
|
|
+++ configure.in Thu Jul 17 19:00:48 2003
|
|
|
|
@@ -229,10 +229,11 @@ fi
|
2001-10-27 10:02:22 -04:00
|
|
|
|
2003-07-17 16:29:13 -04:00
|
|
|
if test "$enable_oss_dsp" = yes
|
2001-10-27 10:02:22 -04:00
|
|
|
then
|
2003-07-17 16:29:13 -04:00
|
|
|
- AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h, found_oss_dsp=yes)
|
|
|
|
+ AC_CHECK_HEADERS(soundcard.h sys/soundcard.h machine/soundcard.h, found_oss_dsp=yes)
|
2001-10-27 10:02:22 -04:00
|
|
|
|
2003-07-17 16:29:13 -04:00
|
|
|
if test "$found_oss_dsp" = yes
|
|
|
|
then
|
2000-09-10 12:05:01 -04:00
|
|
|
+ AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBS="$LIBS -lossaudio")
|
2003-07-17 16:29:13 -04:00
|
|
|
AC_DEFINE([HAVE_OSS], 1,
|
|
|
|
[Define if you have OSS installed])
|
2000-09-10 12:05:01 -04:00
|
|
|
NEED_OSS=1
|