aboutsummaryrefslogtreecommitdiff
path: root/lib/libwrap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libwrap/Makefile')
-rw-r--r--lib/libwrap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile
index 845096131a8a..4422cfaff6a3 100644
--- a/lib/libwrap/Makefile
+++ b/lib/libwrap/Makefile
@@ -17,7 +17,10 @@ CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
-DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME
-CFLAGS+=-DINET6 -DUSE_GETIPNODEBY
+CFLAGS+=-DUSE_GETIPNODEBY
+.if !defined(NOINET6)
+CFLAGS+=-DINET6
+.endif
SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \
hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \