[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
The Allegro-ALSA driver not compile with ALSA 0.9.0. It looks the
relevant changes were made between 0.9.0 and 0.9.1, so I'm applying the
following branch. I haven't tested it with 0.9.1 though, but it's no
worse than before.
diff -u allegro-4.1.17/aclocal.m4 allegro-4.1.17-mod/aclocal.m4
--- allegro-4.1.17/aclocal.m4 2004-12-04 20:26:40.000000000 +1100
+++ allegro-4.1.17-mod/aclocal.m4 2004-12-13 14:42:29.000000000 +1100
@@ -428,7 +428,7 @@
AC_CACHE_CHECK(for supported ALSA version for digital sound,
allegro_cv_support_alsadigi,
AC_TRY_COMPILE([#include <sys/asoundlib.h>
- #if (SND_LIB_MAJOR > 0) || (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 9)
+ #if (SND_LIB_MAJOR > 0) || (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 9 && SND_LIB_SUBMINOR >= 1)
#else
#error
#endif],,