From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH 2/3] examples/ip_pipeline: disable build when no epoll Date: Mon, 25 Feb 2019 15:23:03 +0000 Message-ID: <20190225152304.62607-3-bruce.richardson@intel.com> References: <20190225152304.62607-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Bruce Richardson , stable@dpdk.org To: dev@dpdk.org Return-path: In-Reply-To: <20190225152304.62607-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The ip_pipeline example requires the epoll.h header from linux, so disable building the example if the header cannot be found. CC: stable@dpdk.org Fixes: 4bbf8e30aa5e ("examples/ip_pipeline: add CLI interface") Signed-off-by: Bruce Richardson --- examples/ip_pipeline/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ip_pipeline/meson.build b/examples/ip_pipeline/meson.build index 5e5fe6479..664223c97 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( -- 2.20.1