diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-07-26 14:09:40 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-07-26 14:09:40 +0000 |
commit | 8ea64148b5e1d22b3346a520ef4cf8dcb6ab43dd (patch) | |
tree | 6b11b09f3c0e5dea3ace281d20129469123fdae7 /src/config.in | |
parent | a95cb10ae3db276bc22c55cb53727637e030b474 (diff) | |
download | emacs-8ea64148b5e1d22b3346a520ef4cf8dcb6ab43dd.tar.gz |
(HAVE_SOUND): Define only for FreeBSD, NetBSD and
GNU/Linux.
Diffstat (limited to 'src/config.in')
-rw-r--r-- | src/config.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config.in b/src/config.in index 10a7080416e..204c7d85dfe 100644 --- a/src/config.in +++ b/src/config.in @@ -138,7 +138,11 @@ Boston, MA 02111-1307, USA. */ #undef HAVE_SYS_SOUNDCARD_H #undef HAVE_SOUNDCARD_H -/* Define HAVE_SOUND if we have sound support. */ +/* Define HAVE_SOUND if we have sound support. We know it works + and compiles only on the specified platforms. For others, + it probably doesn't make sense to try. */ + +#if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ #ifdef HAVE_MACHINE_SOUNDCARD_H #define HAVE_SOUND 1 #endif @@ -148,6 +152,7 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_SOUNDCARD_H #define HAVE_SOUND 1 #endif +#endif /* __FreeBSD__ || __NetBSD__ || __linux__ */ /* Some things figured out by the configure script, grouped as they are in configure.in. */ |