# HG changeset patch # User Gerd Moellmann # Date 964620580 0 # Node ID 5fa63570712c720d9b99e2803a955159db57c8f1 # Parent deaccf3300df0091e8a14af69e1af82dd10a4d99 (HAVE_SOUND): Define only for FreeBSD, NetBSD and GNU/Linux. diff -r deaccf3300df -r 5fa63570712c src/config.in --- a/src/config.in Wed Jul 26 13:10:16 2000 +0000 +++ b/src/config.in Wed Jul 26 14:09:40 2000 +0000 @@ -138,7 +138,11 @@ #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 @@ #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. */