APPROVE COMMIT 21.5
I discovered that my autoconf test for ALSA was flawed. The pcm.h
header depends on other ALSA headers, yielding errors during the
configure run. This patch changes it to a header file with no
dependencies.
ChangeLog addition:
2006-03-27 Jerry James <james(a)xemacs.org>
* configure.ac: Repair ALSA detection.
xemacs-21.5 source patch:
Diff command: cvs -q diff -uN
Files affected: configure.ac
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.36
diff -d -u -r1.36 configure.ac
--- configure.ac 2006/03/27 17:40:49 1.36
+++ configure.ac 2006/03/27 20:52:20
@@ -5131,7 +5131,7 @@
dnl ALSA sound support
if test "$enable_sound_alsa" != "no"; then
- AC_CHECK_HEADER([alsa/pcm.h], [
+ AC_CHECK_HEADER([alsa/input.h], [
AC_CHECK_LIB(asound, snd_pcm_open, have_alsa_sound=yes)])
if test "$have_alsa_sound" = "yes"; then
enable_sound_alsa=yes
--
Jerry James, Assistant Professor james(a)xemacs.org
Computer Science Department
http://www.cs.usu.edu/~jerry/
Utah State University