From: Bruce Richardson Date: Mon, 25 Feb 2019 15:23:03 +0000 (+0000) Subject: examples/ip_pipeline: disable build when no epoll X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0c56257a61ec272926c2560b60d078ba266f8564;p=dpdk.git examples/ip_pipeline: disable build when no epoll The ip_pipeline example requires the epoll.h header from linux, so disable building the example if the header cannot be found. Fixes: 4bbf8e30aa5e ("examples/ip_pipeline: add CLI interface") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- diff --git a/examples/ip_pipeline/meson.build b/examples/ip_pipeline/meson.build index 5e5fe6479d..664223c97f 100644 --- a/examples/ip_pipeline/meson.build +++ b/examples/ip_pipeline/meson.build @@ -6,6 +6,7 @@ # To build this example as a standalone application with an already-installed # DPDK instance, use 'make' +build = cc.has_header('sys/epoll.h') deps += ['pipeline', 'bus_pci'] allow_experimental_apis = true sources = files(