]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac [CYGWIN]: Enable sound support.
authorKen Brown <kbrown@cornell.edu>
Sat, 27 Sep 2014 23:35:50 +0000 (19:35 -0400)
committerKen Brown <kbrown@cornell.edu>
Sat, 27 Sep 2014 23:35:50 +0000 (19:35 -0400)
ChangeLog
configure.ac

index 9aac8d0496b91caf976f954e10a90da280cecf53..fce1d1c9ce72ead7c223b46f07514eee8c4ed2fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-27  Ken Brown  <kbrown@cornell.edu>
+
+       * configure.ac [CYGWIN]: Enable sound support.
+
 2014-09-25  Paul Eggert  <eggert@cs.ucla.edu>
 
        * configure.ac (MAKEINFO): Allow 'makeinfo' to be called 'texi2any'.
index 4d9cc0d0274fbb550011209fc66f3ebc48ff531d..5fd49280dd475c4406b725c9a31838fe7c27466c 100644 (file)
@@ -254,7 +254,7 @@ AC_ARG_WITH([mailhost],[AS_HELP_STRING([--with-mailhost=HOSTNAME],
 
 AC_ARG_WITH([sound],[AS_HELP_STRING([--with-sound=VALUE],
   [compile with sound support (VALUE one of: yes, alsa, oss, bsd-ossaudio, no;
-default yes).  Only for GNU/Linux, FreeBSD, NetBSD, MinGW.])],
+default yes).  Only for GNU/Linux, FreeBSD, NetBSD, MinGW, Cygwin.])],
   [ case "${withval}" in
       yes|no|alsa|oss|bsd-ossaudio) val=$withval ;;
       *) AC_MSG_ERROR([`--with-sound=$withval' is invalid;
@@ -1442,7 +1442,7 @@ AC_DEFUN([EMACS_CHECK_MODULES],
 
 HAVE_SOUND=no
 if test "${with_sound}" != "no"; then
-  # Sound support for GNU/Linux, the free BSDs, and MinGW.
+  # Sound support for GNU/Linux, the free BSDs, MinGW, and Cygwin.
   AC_CHECK_HEADERS([machine/soundcard.h sys/soundcard.h soundcard.h mmsystem.h],
     have_sound_header=yes, [], [
     #ifdef __MINGW32__
@@ -1505,7 +1505,7 @@ if test "${with_sound}" != "no"; then
      case "$opsys" in
        dnl defined __FreeBSD__ || defined __NetBSD__ || defined __linux__
        dnl Adjust the --with-sound help text if you change this.
-       gnu-linux|freebsd|netbsd|mingw32)
+       gnu-linux|freebsd|netbsd|mingw32|cygwin)
          AC_DEFINE(HAVE_SOUND, 1, [Define to 1 if you have sound support.])
          HAVE_SOUND=yes
          ;;