diff options
author | ume <ume@FreeBSD.org> | 2006-11-11 15:02:04 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2006-11-11 15:02:04 +0000 |
commit | 0100d343f488d0d5c2e70c793182caa2fe89fcc0 (patch) | |
tree | d08d60736ad415f0da01d8344936991b717c3d05 /sys/modules | |
parent | 01440ba8481572538f4dc4c63180f9e3182bf004 (diff) | |
download | FreeBSD-src-0100d343f488d0d5c2e70c793182caa2fe89fcc0.zip FreeBSD-src-0100d343f488d0d5c2e70c793182caa2fe89fcc0.tar.gz |
Teach an IPv6 to ppp(4).
Obtained from: NetBSD
MFC after: 1 week
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/if_ppp/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile index 5ba5039..ce7bdb0 100644 --- a/sys/modules/if_ppp/Makefile +++ b/sys/modules/if_ppp/Makefile @@ -4,12 +4,17 @@ KMOD= if_ppp SRCS= if_ppp.c ppp_tty.c slcompress.c \ - opt_inet.h opt_ipx.h opt_mac.h opt_ppp.h + opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h opt_ppp.h PPP_BSDCOMP?= 1 # 0/1 PPP_DEFLATE?= 1 # 0/1 PPP_FILTER?= 1 # 0/1 - requires bpf to be configured in kernel PPP_INET?= 1 # 0/1 - requires INET to be configured in kernel +.if defined(NO_INET6) +PPP_INET6?= 0 # 0/1 - requires INET6 to be configured in kernel +.else +PPP_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel +.endif PPP_IPX?= 0 # 0/1 - requires IPX to be configured in kernel .if ${PPP_BSDCOMP} > 0 @@ -25,6 +30,11 @@ opt_inet.h: echo "#define INET 1" > ${.TARGET} .endif +.if ${PPP_INET6} > 0 +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} +.endif + .if ${PPP_IPX} > 0 opt_ipx.h: echo "#define IPX ${PPP_IPX}" > ${.TARGET} |