emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114081: * configure.ac: Allow for --with-sound=voxw


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114081: * configure.ac: Allow for --with-sound=voxware that will enable
Date: Sat, 31 Aug 2013 19:55:20 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114081
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15067
author: Ulrich Müller <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2013-08-31 12:54:17 -0700
message:
  * configure.ac: Allow for --with-sound=voxware that will enable
  sound but otherwise disable ALSA.  This will use the OSS device,
  typically /dev/dsp, for sound output.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  configure.ac                   
configure.in-20091113204419-o5vbwnq5f7feedwu-783
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-08-31 18:26:59 +0000
+++ b/ChangeLog 2013-08-31 19:54:17 +0000
@@ -1,3 +1,9 @@
+2013-08-31  Ulrich Müller  <address@hidden>
+
+       * configure.ac: Allow for --with-sound=voxware that will enable
+       sound but otherwise disable ALSA.  This will use the OSS device,
+       typically /dev/dsp, for sound output.  (Bug#15067)
+
 2013-08-31  Glenn Morris  <address@hidden>
 
        * make-dist: Update for nt/INSTALL* changes.

=== modified file 'configure.ac'
--- a/configure.ac      2013-08-28 01:37:13 +0000
+++ b/configure.ac      2013-08-31 19:54:17 +0000
@@ -167,12 +167,12 @@
     AC_DEFINE_UNQUOTED(MAILHOST, ["$withval"], [String giving fallback POP 
mail host.]))
 
 AC_ARG_WITH([sound],[AS_HELP_STRING([--with-sound=VALUE],
-  [compile with sound support (VALUE one of: yes, ossaudio, alsa, no;
+  [compile with sound support (VALUE one of: yes, ossaudio, alsa, voxware, no;
 default yes).  Only for GNU/Linux, FreeBSD, NetBSD, MinGW.])],
   [ case "${withval}" in
-      yes|no|ossaudio|alsa) val=$withval ;;
+      yes|no|ossaudio|alsa|voxware) val=$withval ;;
       *) AC_MSG_ERROR([`--with-sound=$withval' is invalid;
-this option's value should be `yes', `no', `ossaudio', or `alsa'.])
+this option's value should be `yes', `no', `ossaudio', `alsa', or `voxware'.])
       ;;
     esac
     with_sound=$val
@@ -1307,6 +1307,9 @@
     #include <windows.h>
     #endif
     ])
+  test "${with_sound}" = "voxware" && test "${have_sound_header}" != "yes" && \
+    AC_MSG_ERROR([OSS/Voxware sound support requested but not found.])
+
   if test "${with_sound}" = "ossaudio" || test "${with_sound}" = "yes"; then
     # Emulation library used on NetBSD.
     AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]