From b53aaddfadbda47e479121e1306d8d516ac701ef Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 3 Apr 1999 03:29:14 +0000 Subject: Add data storage for two application-provided variables. GNU configure goes very mad when sensing anything with -lwrap since those two vars are missing --- lib/libwrap/Makefile | 4 ++-- lib/libwrap/libvars.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 lib/libwrap/libvars.c (limited to 'lib/libwrap') diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile index 205285e70005..7c23b5de8f0b 100644 --- a/lib/libwrap/Makefile +++ b/lib/libwrap/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile,v 1.1 1999/03/14 17:56:11 markm Exp $ # MAINTAINER=markm@FreeBSD.org @@ -19,7 +19,7 @@ CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \ 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 \ percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \ - socket.c tli.c update.c workarounds.c + socket.c tli.c update.c workarounds.c libvars.c beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ diff --git a/lib/libwrap/libvars.c b/lib/libwrap/libvars.c new file mode 100644 index 000000000000..5935c839c290 --- /dev/null +++ b/lib/libwrap/libvars.c @@ -0,0 +1,2 @@ +int allow_severity; +int deny_severity; -- cgit v1.2.3