summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2012-07-17 15:30:17 +0530
committerTakashi Iwai <tiwai@suse.de>2012-07-17 14:57:10 +0200
commit480d3204fea75021d10132fcd2b54b7476d6cb0e (patch)
tree89878c13946fc75036fafd1ed2ea9030c174f829
parent9e795252c637ad746de91578aec137602e7c74f0 (diff)
downloadalsa-lib-480d3204fea75021d10132fcd2b54b7476d6cb0e.tar.gz
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>
-rw-r--r--utils/alsa.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/alsa.m4 b/utils/alsa.m4
index 79a24ef5..e12310df 100644
--- a/utils/alsa.m4
+++ b/utils/alsa.m4
@@ -57,6 +57,7 @@ LIBS="$ALSA_LIBS $LIBS"
AC_MSG_RESULT($ALSA_LIBS)
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)
AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version)
no_alsa=""
@@ -110,6 +111,7 @@ exit(0);
alsa_found=no]
)
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.
if test "x$enable_alsatest" = "xyes"; then