---
 pppd/Makefile.linux | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
index a74c914..c00f056 100644
--- a/pppd/Makefile.linux
+++ b/pppd/Makefile.linux
@@ -120,10 +120,10 @@ CFLAGS   += -DHAS_SHADOW
 #LIBS     += -lshadow $(LIBS)
 endif
 
-ifneq ($(wildcard /usr/include/crypt.h),)
+#ifneq ($(wildcard /usr/include/crypt.h),)
 CFLAGS  += -DHAVE_CRYPT_H=1
 LIBS	+= -lcrypt
-endif
+#endif
 
 ifdef USE_LIBUTIL
 CFLAGS	+= -DHAVE_LOGWTMP=1
@@ -177,7 +177,7 @@ LIBS	+= -ldl
 endif
 
 ifdef FILTER
-ifneq ($(wildcard /usr/include/pcap-bpf.h),)
+ifdef HAS_LIBPCAP
 LIBS    += -lpcap
 CFLAGS  += -DPPP_FILTER
 endif
-- 
2.17.1

