From 3238ea487539f57ee027fb2898ec0d3c4dbd0139 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Mon, 1 Nov 2004 03:49:20 +0000 Subject: [PATCH] Only compile in filtering if /usr/include/pcap-bpf.h exists. --- pppd/Makefile.linux | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index cfa2d1a..aaf5c31 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,6 +1,6 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.64 2004/10/31 22:09:03 paulus Exp $ +# $Id: Makefile.linux,v 1.65 2004/11/01 03:49:20 paulus Exp $ # # Default installation locations @@ -171,9 +171,11 @@ LIBS += -ldl endif ifdef FILTER +ifneq ($(wildcard /usr/include/pcap-bpf.h),) LIBS += -lpcap CFLAGS += -DPPP_FILTER endif +endif ifdef HAVE_INET6 PPPDSRCS += ipv6cp.c eui64.c -- 2.39.2