AC_SUBST(LIBWRAP)
AC_SUBST(HAVE_LIBWRAP)
AC_SUBST(HAVE_TCP_WRAPPER)
+ AM_CONDITIONAL(USE_TCP_WRAPPERS, [test $HAVE_TCP_WRAPPER = 1])
])
MAINTAINERCLEANFILES = Makefile.in
+MAN_SED =
+if USE_TCP_WRAPPERS
+MAN_SED += -e 's/USE_TCP_WRAP/yes/'
+else
+MAN_SED += -e 's/USE_TCP_WRAP/no/'
+endif
+
+%.man : %.man.in
+ sed $(MAN_SED) < $< > $@
+
#######################################################################
# The following allows the current practice of having
# daemons renamed during the install to include RPCPREFIX
command on the client will still be effective. This function requires
a Linux Kernel with version at least 2.6.21.
+.if 'USE_TCP_WRAP'no' .ig
.SH TCP_WRAPPERS SUPPORT
This
.B rpc.mountd
and
.BR hosts_access (5)
manual pages.
+..
.SH SEE ALSO
.BR rpc.nfsd (8),
CLEANFILES = $(GENFILES)
+MAN_SED =
+if USE_TCP_WRAPPERS
+MAN_SED += -e 's/USE_TCP_WRAP/yes/'
+else
+MAN_SED += -e 's/USE_TCP_WRAP/no/'
+endif
+
+%.man : %.man.in
+ sed $(MAN_SED) < $< > $@
+
#######################################################################
# The following allows the current practice of having
# daemons renamed during the install to include RPCPREFIX
+.if 'USE_TCP_WRAP'no' .ig
.SH TCP_WRAPPERS SUPPORT
This
.B rpc.statd
and
.BR hosts_access (5)
manual pages.
+..
.SH SIGNALS
.BR SIGUSR1