diff options
| author | Eli Zaretskii | 2013-03-30 10:24:02 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-30 10:24:02 +0300 |
| commit | 803ee34370dec043cd5ff83cf485787b4ce7c285 (patch) | |
| tree | 064988b8fd7d9ee8bbbdaf1ab03be76b223ed81b | |
| parent | 627d532608d03416763595cb5077dacb1238f948 (diff) | |
| download | emacs-803ee34370dec043cd5ff83cf485787b4ce7c285.tar.gz emacs-803ee34370dec043cd5ff83cf485787b4ce7c285.zip | |
Fixed problem with mmsystem.h during configure.
| -rw-r--r-- | configure.ac | 7 |
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], [ | |||
| 1160 | if test "${with_sound}" != "no"; then | 1160 | if 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) |