patch 9.1.1282: Build and test failure without job feature
Problem: Build and test failure without job feature
(lazypingu)
Solution: Adjust ifdefs, add CheckFeature job to tests
fixes: #17053
closes: #17059
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/feature.h b/src/feature.h
index bcfc4a4..703a72f 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -1015,12 +1015,6 @@
* +tgetent
*/
-/*
- * The Netbeans feature requires +eval.
- */
-#if !defined(FEAT_EVAL) && defined(FEAT_NETBEANS_INTG)
-# undef FEAT_NETBEANS_INTG
-#endif
/*
* The +channel feature requires +eval.
@@ -1030,6 +1024,13 @@
#endif
/*
+ * The Netbeans feature requires +eval and +job_channel
+ */
+#if (!defined(FEAT_EVAL) || !defined(FEAT_JOB_CHANNEL)) && defined(FEAT_NETBEANS_INTG)
+# undef FEAT_NETBEANS_INTG
+#endif
+
+/*
* +terminal ":terminal" command. Runs a terminal in a window.
* requires +channel
*/