diff options
author | steve <steve@FreeBSD.org> | 2000-04-15 20:45:52 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-04-15 20:45:52 +0000 |
commit | 1feb59c27fd5e7f3ff43beac7f3a64e2c853f292 (patch) | |
tree | 6da93efa380f7d0b5507c2031824822a76a5e80a /lib/libpcap | |
parent | 12cd48ae48396a66dd832a6583ea560d13af299b (diff) | |
download | FreeBSD-src-1feb59c27fd5e7f3ff43beac7f3a64e2c853f292.zip FreeBSD-src-1feb59c27fd5e7f3ff43beac7f3a64e2c853f292.tar.gz |
Don't try to compile in INET6 support when NOINET6 is defined.
Diffstat (limited to 'lib/libpcap')
-rw-r--r-- | lib/libpcap/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index ae4c9ca..ab0eeac 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -11,7 +11,10 @@ CLEANFILES=tokdefs.h version.c DEFS= -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 \ -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \ - -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 -DINET6 + -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 +.if !defined(NOINET6) +DEFS+= -DINET6 +.endif CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS} |