mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-09-19 17:49:59 +02:00
build: Don't call AC_CHECK_FUNC with --disable-alsatest
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
16bc934c0b
commit
5dcd52389a
1 changed files with 2 additions and 0 deletions
|
@ -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"],
|
||||
|
|
Loading…
Reference in a new issue