From 68089783b654fa76e94000b4895cbd7e537b00f3 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 3 May 2023 19:31:04 +0200 Subject: [PATCH] build: Require at least libedit >= 3.1 when selected --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 61bd5155..1752763b 100644 --- a/configure.ac +++ b/configure.ac @@ -154,7 +154,7 @@ AC_ARG_ENABLE([client], AS_HELP_STRING([--disable-client], [enable_client=${enableval}]) if (test "${enable_client}" != "no"); 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_SUBST(LIBEDIT_CFLAGS) AC_SUBST(LIBEDIT_LIBS)