From 1feb59c27fd5e7f3ff43beac7f3a64e2c853f292 Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 15 Apr 2000 20:45:52 +0000 Subject: Don't try to compile in INET6 support when NOINET6 is defined. --- lib/libpcap/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/libpcap') 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} -- cgit v1.1