xref: /titanic_51/usr/src/cmd/sendmail/cf/feature/delay_checks.m4 (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
1divert(-1)
2#
3# Copyright (c) 1999-2000 Sendmail, Inc. and its suppliers.
4#	All rights reserved.
5#
6# By using this file, you agree to the terms and conditions set
7# forth in the LICENSE file which can be found at the top level of
8# the sendmail distribution.
9#
10#ident	"%Z%%M%	%I%	%E% SMI"
11#
12
13divert(0)
14VERSIONID(`$Id: delay_checks.m4,v 8.8 2000/12/05 18:50:45 ca Exp $')
15divert(-1)
16
17define(`_DELAY_CHECKS_', 1)
18ifelse(defn(`_ARG_'), `',  `',
19	lower(substr(_ARG_,0,1)), `f', `define(`_SPAM_FRIEND_', 1) define(`_SPAM_FH_', 1)',
20	lower(substr(_ARG_,0,1)), `h', `define(`_SPAM_HATER_', 1)  define(`_SPAM_FH_', 1)',
21	`errprint(`*** ERROR: illegal argument _ARG_ for FEATURE(delay_checks)
22')
23	')
24
25dnl be backward compatible by default
26ifelse(len(X`'_ARG2_), `1', `define(`_DELAY_COMPAT_8_10_', 1)', `')
27