diff options
| author | Glenn Morris | 2013-08-31 13:00:22 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-08-31 13:00:22 -0700 |
| commit | 2c347217caf044cc83559b9e3b59de81bb4d8b82 (patch) | |
| tree | 315c22a516c2a360e246d65dddccf0b04c84111e | |
| parent | e0936eed9b324079511d7660751189bca2087fe8 (diff) | |
| download | emacs-2c347217caf044cc83559b9e3b59de81bb4d8b82.tar.gz emacs-2c347217caf044cc83559b9e3b59de81bb4d8b82.zip | |
* configure.ac (--with-sound): Rename ossaudio to bsd-ossaudio,
and voxware to oss.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 18 |
2 files changed, 14 insertions, 9 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-08-31 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.ac (--with-sound): Rename ossaudio to bsd-ossaudio, | ||
| 4 | and voxware to oss. | ||
| 5 | |||
| 1 | 2013-08-31 Ulrich Müller <ulm@gentoo.org> | 6 | 2013-08-31 Ulrich Müller <ulm@gentoo.org> |
| 2 | 7 | ||
| 3 | * configure.ac: Allow for --with-sound=voxware that will enable | 8 | * configure.ac: Allow for --with-sound=voxware that will enable |
diff --git a/configure.ac b/configure.ac index ef06c6c2b3b..6cafa3eda57 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -167,12 +167,12 @@ AC_ARG_WITH([mailhost],[AS_HELP_STRING([--with-mailhost=HOSTNAME], | |||
| 167 | AC_DEFINE_UNQUOTED(MAILHOST, ["$withval"], [String giving fallback POP mail host.])) | 167 | AC_DEFINE_UNQUOTED(MAILHOST, ["$withval"], [String giving fallback POP mail host.])) |
| 168 | 168 | ||
| 169 | AC_ARG_WITH([sound],[AS_HELP_STRING([--with-sound=VALUE], | 169 | AC_ARG_WITH([sound],[AS_HELP_STRING([--with-sound=VALUE], |
| 170 | [compile with sound support (VALUE one of: yes, ossaudio, alsa, voxware, no; | 170 | [compile with sound support (VALUE one of: yes, alsa, oss, bsd-ossaudio, no; |
| 171 | default yes). Only for GNU/Linux, FreeBSD, NetBSD, MinGW.])], | 171 | default yes). Only for GNU/Linux, FreeBSD, NetBSD, MinGW.])], |
| 172 | [ case "${withval}" in | 172 | [ case "${withval}" in |
| 173 | yes|no|ossaudio|alsa|voxware) val=$withval ;; | 173 | yes|no|alsa|oss|bsd-ossaudio) val=$withval ;; |
| 174 | *) AC_MSG_ERROR([`--with-sound=$withval' is invalid; | 174 | *) AC_MSG_ERROR([`--with-sound=$withval' is invalid; |
| 175 | this option's value should be `yes', `no', `ossaudio', `alsa', or `voxware'.]) | 175 | this option's value should be `yes', `no', `alsa', `oss', or `bsd-ossaudio'.]) |
| 176 | ;; | 176 | ;; |
| 177 | esac | 177 | esac |
| 178 | with_sound=$val | 178 | with_sound=$val |
| @@ -1307,15 +1307,15 @@ if test "${with_sound}" != "no"; then | |||
| 1307 | #include <windows.h> | 1307 | #include <windows.h> |
| 1308 | #endif | 1308 | #endif |
| 1309 | ]) | 1309 | ]) |
| 1310 | test "${with_sound}" = "voxware" && test "${have_sound_header}" != "yes" && \ | 1310 | test "${with_sound}" = "oss" && test "${have_sound_header}" != "yes" && \ |
| 1311 | AC_MSG_ERROR([OSS/Voxware sound support requested but not found.]) | 1311 | AC_MSG_ERROR([OSS sound support requested but not found.]) |
| 1312 | 1312 | ||
| 1313 | if test "${with_sound}" = "ossaudio" || test "${with_sound}" = "yes"; then | 1313 | if test "${with_sound}" = "bsd-ossaudio" || test "${with_sound}" = "yes"; then |
| 1314 | # Emulation library used on NetBSD. | 1314 | # Emulation library used on NetBSD. |
| 1315 | AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) | 1315 | AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=) |
| 1316 | test "${with_sound}" = "ossaudio" && test -z "$LIBSOUND" && \ | 1316 | test "${with_sound}" = "bsd-ossaudio" && test -z "$LIBSOUND" && \ |
| 1317 | AC_MSG_ERROR([ossaudio sound support requested but not found.]) | 1317 | AC_MSG_ERROR([bsd-ossaudio sound support requested but not found.]) |
| 1318 | dnl FIXME? If we did find ossaudio, should we set with_sound=ossaudio? | 1318 | dnl FIXME? If we did find ossaudio, should we set with_sound=bsd-ossaudio? |
| 1319 | dnl Traditionally, we go on to check for alsa too. Does that make sense? | 1319 | dnl Traditionally, we go on to check for alsa too. Does that make sense? |
| 1320 | fi | 1320 | fi |
| 1321 | AC_SUBST(LIBSOUND) | 1321 | AC_SUBST(LIBSOUND) |