]> git.alsa-project.org Git - alsa-lib.git/commitdiff
build: Disable another compile chack with --disable-alsatest
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 17 Jul 2012 10:00:17 +0000 (15:30 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Jul 2012 12:57:10 +0000 (14:57 +0200)
Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
utils/alsa.m4

index 79a24ef5b19efbf96a721bf6d3f84ce56a3e5cc0..e12310df4dcc466882a0272b9c90ca12a2cc3427 100644 (file)
@@ -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