Lang additions..

This commit is contained in:
Jaroslav Kysela 1999-08-06 13:56:45 +00:00
parent c3ed3f7298
commit b998850dc2

View file

@ -65,6 +65,8 @@ no_alsa=""
alsa_min_micro_version=`echo $min_alsa_version | \ alsa_min_micro_version=`echo $min_alsa_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
AC_LANG_SAVE
AC_LANG_C
AC_TRY_COMPILE([ AC_TRY_COMPILE([
#include <sys/asoundlib.h> #include <sys/asoundlib.h>
], [ ], [
@ -107,6 +109,7 @@ exit(0);
[AC_MSG_RESULT(not present.) [AC_MSG_RESULT(not present.)
AC_MSG_ERROR(Sufficiently new version of libasound not found.)] AC_MSG_ERROR(Sufficiently new version of libasound not found.)]
) )
AC_LANG_RESTORE
dnl Now that we know that we have the right version, let's see if we have the library and not just the headers. dnl Now that we know that we have the right version, let's see if we have the library and not just the headers.
AC_CHECK_LIB([asound], [snd_cards],, AC_CHECK_LIB([asound], [snd_cards],,