From 37e46df02f2b66e3fb9de98403ac17f4416d94f9 Mon Sep 17 00:00:00 2001 From: Matthias Dahl Date: Sat, 27 Apr 2002 20:42:41 +0000 Subject: More fixing... HAVE_(ALSA/SYS)_ASOUNDLIB_H wasn't defined properly. CVS patchset: 1786 CVS date: 2002/04/27 20:42:41 --- m4/alsa.m4 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/alsa.m4 b/m4/alsa.m4 index 2d82993b2..822d884ec 100644 --- a/m4/alsa.m4 +++ b/m4/alsa.m4 @@ -65,8 +65,17 @@ if test x"$enable_alsa" != "xno"; then fi ALSA_CFLAGS="$ALSA_CFLAGS" - AC_CHECK_HEADER(alsa/asoundlib.h, [asoundlib_h="alsa/asoundlib.h"], \ - [AC_CHECK_HEADER(sys/asoundlib.h, asoundlib_h="sys/asoundlib.h")]) + AC_CHECK_HEADER(alsa/asoundlib.h, + [ + asoundlib_h="alsa/asoundlib.h" + AC_DEFINE(HAVE_ALSA_ASOUNDLIB_H, 1, [Define this if your asoundlib.h is installed in alsa/]) + ],[ + AC_CHECK_HEADER(sys/asoundlib.h, + [ + asoundlib_h="sys/asoundlib.h" + AC_DEFINE(HAVE_SYS_ASOUNDLIB_H, 1, [Define this if your asoundlib.h is installed in sys/]) + ]) + ]) min_alsa_version=ifelse([$1], ,0.1.1,$1) AC_MSG_CHECKING([for ALSA version >= $min_alsa_version]) -- cgit v1.2.3