[alsa-devel] [alsa-lib] [PATCH 4/4] build: Disable another compile chack with --disable-alsatest

Arun Raghavan arun.raghavan at collabora.co.uk
Tue Jul 17 12:00:17 CEST 2012


Signed-off-by: Arun Raghavan <arun.raghavan at collabora.co.uk>
---
 utils/alsa.m4 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/utils/alsa.m4 b/utils/alsa.m4
index 79a24ef..e12310d 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
-- 
1.7.8.6



More information about the Alsa-devel mailing list