mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
build: Require at least libedit >= 3.1 when selected
This commit is contained in:
parent
38f5aff139
commit
68089783b6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user