summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/input_curses.c
diff options
context:
space:
mode:
authorHeinrich Kuhn <heinrich.kuhn@corigine.com>2021-08-18 16:38:53 +0200
committerLuc Provoost <luc.provoost@intel.com>2021-09-09 07:55:38 +0000
commit57d5ce26e8bca43631f9e71607f0cfbb254906ac (patch)
tree6d8962527e6b4a9bbfc8f010c9ee8eab59bb6866 /VNFs/DPPD-PROX/input_curses.c
parent43cff53a4970d161e547c73a97bfbd33a1149d49 (diff)
Add support for building Prox with Meson
DPDK has deprecated the use of the make system in versions 20.11 and beyond. Following the deprecation it is non-trivial to keep using make to build projects that depend on DPDK. A cleaner solution is to adopt Meson as a building framework. This commit adds support for Meson in Prox. The meson.build file mirrors the functionality that is available in the current Makefile. The make build system will exit if it detects that DPDK was built using meson (testing for the RTE_TARGET directory) Signed-off-by: Heinrich Kuhn <heinrich.kuhn@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Change-Id: I6ebffa2199993fd6eb46c2f31961fe7dc38e727c
Diffstat (limited to 'VNFs/DPPD-PROX/input_curses.c')
-rw-r--r--VNFs/DPPD-PROX/input_curses.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/input_curses.c b/VNFs/DPPD-PROX/input_curses.c
index 4ea2e4a8..f549f859 100644
--- a/VNFs/DPPD-PROX/input_curses.c
+++ b/VNFs/DPPD-PROX/input_curses.c
@@ -27,7 +27,10 @@
#include "cmd_parser.h"
#include "input_curses.h"
#include "histedit.h"
+
+#ifdef COMPILED_WITH_MAKE
#include "libedit_autoconf.h"
+#endif
static EditLine *el;
static History *hist;