164562Sgshapirodivert(-1)
264562Sgshapiro#
364562Sgshapiro# Copyright (c) 1999-2000 Sendmail, Inc. and its suppliers.
464562Sgshapiro#	All rights reserved.
564562Sgshapiro#
664562Sgshapiro# By using this file, you agree to the terms and conditions set
764562Sgshapiro# forth in the LICENSE file which can be found at the top level of
864562Sgshapiro# the sendmail distribution.
964562Sgshapiro#
1064562Sgshapiro#
1164562Sgshapiro
1264562Sgshapirodivert(0)
1398121SgshapiroVERSIONID(`$Id: delay_checks.m4,v 8.8 2000/12/05 18:50:45 ca Exp $')
1464562Sgshapirodivert(-1)
1564562Sgshapiro
1664562Sgshapirodefine(`_DELAY_CHECKS_', 1)
1764562Sgshapiroifelse(defn(`_ARG_'), `',  `',
1864562Sgshapiro	lower(substr(_ARG_,0,1)), `f', `define(`_SPAM_FRIEND_', 1) define(`_SPAM_FH_', 1)',
1964562Sgshapiro	lower(substr(_ARG_,0,1)), `h', `define(`_SPAM_HATER_', 1)  define(`_SPAM_FH_', 1)',
2064562Sgshapiro	`errprint(`*** ERROR: illegal argument _ARG_ for FEATURE(delay_checks)
2164562Sgshapiro')
2264562Sgshapiro	')
2390792Sgshapiro
2490792Sgshapirodnl be backward compatible by default 
2590792Sgshapiroifelse(len(X`'_ARG2_), `1', `define(`_DELAY_COMPAT_8_10_', 1)', `')
26