diff options
author | Ken Raeburn <raeburn@raeburn.org> | 2000-07-05 19:33:00 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@raeburn.org> | 2000-07-05 19:33:00 +0000 |
commit | 80fcd514bbc519721a2c11e479c6fd1f0f6efb96 (patch) | |
tree | 11be53ea9730804c895ec42b6487dec66a8d0b1a /src/config.in | |
parent | b192d653daad26b27e58f9a1a37593a9ce5a6bca (diff) | |
download | emacs-80fcd514bbc519721a2c11e479c6fd1f0f6efb96.tar.gz |
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.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.in b/src/config.in index 6530987ca1c..10a7080416e 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. */ |