aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.in
diff options
context:
space:
mode:
authorKen Raeburn <[email protected]>2000-07-05 19:33:00 +0000
committerKen Raeburn <[email protected]>2000-07-05 19:33:00 +0000
commit80fcd514bbc519721a2c11e479c6fd1f0f6efb96 (patch)
tree11be53ea9730804c895ec42b6487dec66a8d0b1a /src/config.in
parentb192d653daad26b27e58f9a1a37593a9ce5a6bca (diff)
Sound support for NetBSD through "Linux emulation" support:
* config.in (HAVE_SOUNDCARD_H): Undef. (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. * Makefile.in (LIBSOUND): New variable. (LIBES): Include it. * sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and <soundcard.h>. (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined elsewhere. (vox_open): Use DEFAULT_SOUND_DEVICE. * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio.
Diffstat (limited to 'src/config.in')
-rw-r--r--src/config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.in b/src/config.in
index 6530987ca1..10a7080416 100644
--- a/src/config.in
+++ b/src/config.in
@@ -136,6 +136,7 @@ Boston, MA 02111-1307, USA. */
/* Header for Voxware or PCM sound card driver. */
#undef HAVE_MACHINE_SOUNDCARD_H
#undef HAVE_SYS_SOUNDCARD_H
+#undef HAVE_SOUNDCARD_H
/* Define HAVE_SOUND if we have sound support. */
#ifdef HAVE_MACHINE_SOUNDCARD_H
@@ -144,6 +145,9 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_SYS_SOUNDCARD_H
#define HAVE_SOUND 1
#endif
+#ifdef HAVE_SOUNDCARD_H
+#define HAVE_SOUND 1
+#endif
/* Some things figured out by the configure script, grouped as they are in
configure.in. */