build: Disable another compile chack with --disable-alsatest

Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Arun Raghavan 2012-07-17 15:30:17 +05:30 committed by Takashi Iwai
parent 9e795252c6
commit 480d3204fe

View file

@ -57,6 +57,7 @@ LIBS="$ALSA_LIBS $LIBS"
AC_MSG_RESULT($ALSA_LIBS) AC_MSG_RESULT($ALSA_LIBS)
dnl Check for a working version of libasound that is of the right version. dnl Check for a working version of libasound that is of the right version.
if test "x$enable_alsatest" = "xyes"; then
min_alsa_version=ifelse([$1], ,0.1.1,$1) min_alsa_version=ifelse([$1], ,0.1.1,$1)
AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version) AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version)
no_alsa="" no_alsa=""
@ -110,6 +111,7 @@ exit(0);
alsa_found=no] alsa_found=no]
) )
AC_LANG_RESTORE AC_LANG_RESTORE
fi
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.
if test "x$enable_alsatest" = "xyes"; then if test "x$enable_alsatest" = "xyes"; then