xref: /freebsd/contrib/sendmail/cf/feature/delay_checks.m4 (revision 2fb4f839f3fc72ce2bab12f9ba4760f97f73e97f)
106f25ae9SGregory Neil Shapirodivert(-1)
206f25ae9SGregory Neil Shapiro#
35dd76dd0SGregory Neil Shapiro# Copyright (c) 1999-2000 Proofpoint, Inc. and its suppliers.
406f25ae9SGregory Neil Shapiro#	All rights reserved.
506f25ae9SGregory Neil Shapiro#
606f25ae9SGregory Neil Shapiro# By using this file, you agree to the terms and conditions set
706f25ae9SGregory Neil Shapiro# forth in the LICENSE file which can be found at the top level of
806f25ae9SGregory Neil Shapiro# the sendmail distribution.
906f25ae9SGregory Neil Shapiro#
1006f25ae9SGregory Neil Shapiro#
1106f25ae9SGregory Neil Shapiro
1206f25ae9SGregory Neil Shapirodivert(0)
13*4313cc83SGregory Neil ShapiroVERSIONID(`$Id: delay_checks.m4,v 8.9 2013-11-22 20:51:11 ca Exp $')
1406f25ae9SGregory Neil Shapirodivert(-1)
1506f25ae9SGregory Neil Shapiro
1606f25ae9SGregory Neil Shapirodefine(`_DELAY_CHECKS_', 1)
1706f25ae9SGregory Neil Shapiroifelse(defn(`_ARG_'), `',  `',
1806f25ae9SGregory Neil Shapiro	lower(substr(_ARG_,0,1)), `f', `define(`_SPAM_FRIEND_', 1) define(`_SPAM_FH_', 1)',
1906f25ae9SGregory Neil Shapiro	lower(substr(_ARG_,0,1)), `h', `define(`_SPAM_HATER_', 1)  define(`_SPAM_FH_', 1)',
2006f25ae9SGregory Neil Shapiro	`errprint(`*** ERROR: illegal argument _ARG_ for FEATURE(delay_checks)
2106f25ae9SGregory Neil Shapiro')
2206f25ae9SGregory Neil Shapiro	')
2340266059SGregory Neil Shapiro
2440266059SGregory Neil Shapirodnl be backward compatible by default
2540266059SGregory Neil Shapiroifelse(len(X`'_ARG2_), `1', `define(`_DELAY_COMPAT_8_10_', 1)', `')
26