Mercurial > hg > xemacs-beta
comparison configure.ac @ 3309:ad7894a4ab41
[xemacs-hg @ 2006-03-27 21:00:01 by james]
Fix ALSA detection by detecting a header file with no dependencies. See
xemacs-patches message with ID <m3vetzvc39.fsf@jerrypc.cs.usu.edu>.
author | james |
---|---|
date | Mon, 27 Mar 2006 21:00:13 +0000 |
parents | 34cfe24248f6 |
children | b145b32294ff |
comparison
equal
deleted
inserted
replaced
3308:34cfe24248f6 | 3309:ad7894a4ab41 |
---|---|
5129 test -n "$with_native_sound_lib" && XE_PREPEND($with_native_sound_lib, LIBS) | 5129 test -n "$with_native_sound_lib" && XE_PREPEND($with_native_sound_lib, LIBS) |
5130 fi | 5130 fi |
5131 | 5131 |
5132 dnl ALSA sound support | 5132 dnl ALSA sound support |
5133 if test "$enable_sound_alsa" != "no"; then | 5133 if test "$enable_sound_alsa" != "no"; then |
5134 AC_CHECK_HEADER([alsa/pcm.h], [ | 5134 AC_CHECK_HEADER([alsa/input.h], [ |
5135 AC_CHECK_LIB(asound, snd_pcm_open, have_alsa_sound=yes)]) | 5135 AC_CHECK_LIB(asound, snd_pcm_open, have_alsa_sound=yes)]) |
5136 if test "$have_alsa_sound" = "yes"; then | 5136 if test "$have_alsa_sound" = "yes"; then |
5137 enable_sound_alsa=yes | 5137 enable_sound_alsa=yes |
5138 AC_DEFINE(HAVE_ALSA_SOUND) | 5138 AC_DEFINE(HAVE_ALSA_SOUND) |
5139 XE_ADD_OBJS(alsaplay.o) | 5139 XE_ADD_OBJS(alsaplay.o) |