Mercurial > emacs
view src/=sol2-2.h @ 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 | 85b1ac7f1caa |
children |
line wrap: on
line source
/* casper@fwi.uva.nl says this file is not needed and sol2.h should work. */ #include "sol2.h" /* Take care of libucb.a as well as X Windows. */ #undef LD_SWITCH_SYSTEM #ifndef __GNUC__ #define LD_SWITCH_SYSTEM -R/usr/openwin/lib:/usr/ucblib #else /* GCC */ #define LD_SWITCH_SYSTEM -Xlinker -R/usr/openwin/lib:/usr/ucblib #endif /* GCC */ /* Link with libucb.a. */ #ifdef LIB_STANDARD #undef LIB_STANDARD #define LIB_STANDARD -lc -L/usr/ucblib -lucb #endif