Respect MK_INET6_SUPPORT.

This commit is contained in:
Yaroslav Tykhiy 2006-07-26 08:36:46 +00:00
parent 720fc1c7dc
commit 11eb328ec5

View File

@ -21,7 +21,11 @@ SRCS+= nscache.c nscachedcli.c
SYM_MAPS+=${.CURDIR}/net/Symbol.map
CFLAGS+=-DINET6 -I${.OBJDIR}
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
CFLAGS+=-I${.OBJDIR}
# name6.c refers res_private.h
CFLAGS+=-I${.CURDIR}/resolv