aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e077fdc1d02..5ed6aed23d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1160,7 +1160,12 @@ AC_DEFUN([PKG_CHECK_MODULES], [
1160if test "${with_sound}" != "no"; then 1160if test "${with_sound}" != "no"; then
1161 # Sound support for GNU/Linux, the free BSDs, and MinGW. 1161 # Sound support for GNU/Linux, the free BSDs, and MinGW.
1162 AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h mmsystem.h, 1162 AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h mmsystem.h,
1163 have_sound_header=yes) 1163 have_sound_header=yes, [], [
1164 #ifdef __MINGW32__
1165 #define WIN32_LEAN_AND_MEAN
1166 #include <windows.h>
1167 #endif
1168 ])
1164 # Emulation library used on NetBSD. 1169 # Emulation library used on NetBSD.
1165 AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) 1170 AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=)
1166 AC_SUBST(LIBSOUND) 1171 AC_SUBST(LIBSOUND)