diff options
| -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. */ | |||
| 138 | #undef HAVE_SYS_SOUNDCARD_H | 138 | #undef HAVE_SYS_SOUNDCARD_H |
| 139 | #undef HAVE_SOUNDCARD_H | 139 | #undef HAVE_SOUNDCARD_H |
| 140 | 140 | ||
| 141 | /* Define HAVE_SOUND if we have sound support. */ | 141 | /* Define HAVE_SOUND if we have sound support. We know it works |
| 142 | and compiles only on the specified platforms. For others, | ||
| 143 | it probably doesn't make sense to try. */ | ||
| 144 | |||
| 145 | #if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ | ||
| 142 | #ifdef HAVE_MACHINE_SOUNDCARD_H | 146 | #ifdef HAVE_MACHINE_SOUNDCARD_H |
| 143 | #define HAVE_SOUND 1 | 147 | #define HAVE_SOUND 1 |
| 144 | #endif | 148 | #endif |
| @@ -148,6 +152,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 148 | #ifdef HAVE_SOUNDCARD_H | 152 | #ifdef HAVE_SOUNDCARD_H |
| 149 | #define HAVE_SOUND 1 | 153 | #define HAVE_SOUND 1 |
| 150 | #endif | 154 | #endif |
| 155 | #endif /* __FreeBSD__ || __NetBSD__ || __linux__ */ | ||
| 151 | 156 | ||
| 152 | /* Some things figured out by the configure script, grouped as they are in | 157 | /* Some things figured out by the configure script, grouped as they are in |
| 153 | configure.in. */ | 158 | configure.in. */ |