mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Lang additions..
This commit is contained in:
parent
c3ed3f7298
commit
b998850dc2
1 changed files with 3 additions and 0 deletions
|
|
@ -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],,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue