3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

build: Require at least libedit >= 3.1 when selected

This commit is contained in:
Marcel Holtmann 2023-05-03 19:31:04 +02:00
parent 38f5aff139
commit 68089783b6

View File

@ -154,7 +154,7 @@ AC_ARG_ENABLE([client], AS_HELP_STRING([--disable-client],
[enable_client=${enableval}]) [enable_client=${enableval}])
if (test "${enable_client}" != "no"); then if (test "${enable_client}" != "no"); then
if (test "${enable_libedit}" = "yes"); then if (test "${enable_libedit}" = "yes"); then
PKG_CHECK_MODULES(LIBEDIT, libedit, dummy=yes, PKG_CHECK_MODULES(LIBEDIT, libedit >= 3.1, dummy=yes,
AC_MSG_ERROR(Editline library is required)) AC_MSG_ERROR(Editline library is required))
AC_SUBST(LIBEDIT_CFLAGS) AC_SUBST(LIBEDIT_CFLAGS)
AC_SUBST(LIBEDIT_LIBS) AC_SUBST(LIBEDIT_LIBS)