[alsa-devel] [alsa-utils] [PATCH 3/3] build: Don't call AC_CHECK_FUNC with --disable-alsatest

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


---
 configure.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index e7bb4ca..6888dae 100644
--- a/configure.in
+++ b/configure.in
@@ -31,8 +31,10 @@ AC_PROG_LN_S
 AC_PROG_SED
 PKG_PROG_PKG_CONFIG
 AM_PATH_ALSA(1.0.24)
+if test "x$enable_alsatest" = "xyes"; then
 AC_CHECK_FUNC([snd_ctl_elem_add_enumerated],
 	      , [AC_ERROR([No user enum control support in alsa-lib])])
+fi
 
 dnl Check components
 AC_CHECK_HEADERS([alsa/pcm.h], [have_pcm="yes"], [have_pcm="no"],
-- 
1.7.8.6



More information about the Alsa-devel mailing list