From 5dcd52389a4865f5cc06784db629d0b08f933675 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Tue, 17 Jul 2012 15:45:35 +0530 Subject: [PATCH] build: Don't call AC_CHECK_FUNC with --disable-alsatest Signed-off-by: Takashi Iwai --- configure.in | 2 ++ 1 file changed, 2 insertions(+) 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"],