summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-04-12 19:57:32 +0000
committerarchie <archie@FreeBSD.org>2000-04-12 19:57:32 +0000
commit888f3176b90f9b608512ba93c93b4316b3e5a18c (patch)
tree32b1aadb9661a96fe32e906893e84b47cfe91af5 /sys/modules/netgraph
parent71fcfc0b7629a1795f6de32ee07f0151930dd911 (diff)
downloadFreeBSD-src-888f3176b90f9b608512ba93c93b4316b3e5a18c.zip
FreeBSD-src-888f3176b90f9b608512ba93c93b4316b3e5a18c.tar.gz
Only build the ng_mppc KLD if !NOCRYPT and required crypto sources exist.
Diffstat (limited to 'sys/modules/netgraph')
-rw-r--r--sys/modules/netgraph/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile
index 176349a..bd3405fa 100644
--- a/sys/modules/netgraph/Makefile
+++ b/sys/modules/netgraph/Makefile
@@ -4,4 +4,8 @@
SUBDIR= async bpf cisco echo frame_relay hole iface ksocket lmi \
netgraph ppp pppoe pptpgre rfc1490 socket tee tty UI vjc
+.if !defined(NOCRYPT) && exists(${.CURDIR}/../../crypto/rc4/rc4.c)
+SUBDIR+= mppc
+.endif
+
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud