diff options
author | Matthias Dahl <matt2000@users.sourceforge.net> | 2002-04-27 20:42:41 +0000 |
---|---|---|
committer | Matthias Dahl <matt2000@users.sourceforge.net> | 2002-04-27 20:42:41 +0000 |
commit | 37e46df02f2b66e3fb9de98403ac17f4416d94f9 (patch) | |
tree | 90f9de723f036e7d11642dae6e347ac6bb0cabf9 | |
parent | d9cf913d4ac4c7eba7b1ed3e64535bc36a94834e (diff) | |
download | xine-lib-37e46df02f2b66e3fb9de98403ac17f4416d94f9.tar.gz xine-lib-37e46df02f2b66e3fb9de98403ac17f4416d94f9.tar.bz2 |
More fixing... HAVE_(ALSA/SYS)_ASOUNDLIB_H wasn't defined properly.
CVS patchset: 1786
CVS date: 2002/04/27 20:42:41
-rw-r--r-- | m4/alsa.m4 | 13 |
1 files changed, 11 insertions, 2 deletions
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]) |