3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 12:42:51 +01:00

build: Require ELL 0.12 for most binaries

This commit is contained in:
Marcel Holtmann 2018-10-20 20:05:11 +02:00
parent 282a9f1a14
commit 601c1b10f5

View File

@ -160,16 +160,14 @@ AC_ARG_ENABLE([external_ell], AC_HELP_STRING([--enable-external-ell],
[enable_external_ell=${enableval}])
if (test "${enable_external_ell}" = "yes"); then
if (test "${enable_daemon}" != "no" ||
test "${enable_client}" != "no" ||
test "${enable_monitor}" != "no" ||
test "${enable_wired}" = "yes" ||
test "${enable_hwsim}" = "yes"); then
ell_min_version="0.12"
else if (test "${enable_client}" != "no"); then
ell_min_version="0.8"
else
ell_min_version="0.5"
fi
fi
PKG_CHECK_MODULES(ELL, ell >= ${ell_min_version}, dummy=yes,
AC_MSG_ERROR(Embedded Linux library >= 0.12 is required))
AC_SUBST(ELL_CFLAGS)