diff src/config.in @ 30079:1572612184fc

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.
author Ken Raeburn <raeburn@raeburn.org>
date Wed, 05 Jul 2000 19:33:00 +0000
parents f7069f998fab
children 5fa63570712c
line wrap: on
line diff
--- a/src/config.in	Wed Jul 05 19:18:52 2000 +0000
+++ b/src/config.in	Wed Jul 05 19:33:00 2000 +0000
@@ -136,6 +136,7 @@
 /* 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 @@
 #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.  */