summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>1998-11-29 16:30:21 +0000
committerJaroslav Kysela <perex@perex.cz>1998-11-29 16:30:21 +0000
commit713c391e47b20e744f02271af66bf18e0286099f (patch)
tree9478a9d03e929531152bc7a81fa6c32274c3ff12 /acinclude.m4
parent4964e44a6e715a25ae094a83f73986869feac875 (diff)
downloadalsa-lib-713c391e47b20e744f02271af66bf18e0286099f.tar.gz
0.3.0pre1 driver checking
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m49
1 files changed, 6 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index bb914dc3..d38c7e97 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -13,16 +13,19 @@ AC_TRY_COMPILE([
],[
void main(void)
{
-#if !defined( SND_PROTOCOL_VERSION ) || !defined( SND_PROTOCOL_UNCOMPATIBLE )
+#if !defined(SND_PROTOCOL_VERSION) || !defined(SND_PROTOCOL_UNCOMPATIBLE)
#error not found
#else
+#if !defined(SND_MIXER_IOCTL_CHANNEL_RREAD)
+#error wrong version
+#endif
exit(0);
#endif
}
],
AC_MSG_RESULT(present),
- [AC_MSG_RESULT(not found);
- AC_MSG_ERROR([Install alsa-driver v0.2.0pre6+ package first...])]
+ [AC_MSG_RESULT(not found or wrong version);
+ AC_MSG_ERROR([Install alsa-driver v0.3.0pre1+ package first...])]
)
CFLAGS="$OLD_CFLAGS"
])