@techee looks like that's what has been done lately, but check with @eht16 and
@frlan what they think about interdep.
Otherwise, you probably can do something like that:
```diff
diff --git a/build/lsp.m4 b/build/lsp.m4
index d4c65c79..8c352ac7 100644
--- a/build/lsp.m4
+++ b/build/lsp.m4
@@ -2,6 +2,10 @@ AC_DEFUN([GP_CHECK_LSP],
[
GP_ARG_DISABLE([LSP], [auto])
+ GP_GEANY_PKG_CONFIG_PATH_PUSH
+ GP_CHECK_PLUGIN_DEPS([LSP], [LSP], [geany >= 2.1])
+ GP_GEANY_PKG_CONFIG_PATH_POP
+
JSON_GLIB_PACKAGE_NAME=json-glib-1.0
JSON_GLIB_VERSION=1.10
JSONRPC_GLIB_PACKAGE_NAME=jsonrpc-glib-1.0
```
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1409#issuecomment-2638048307
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1409/[email protected]>