8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / sendmail / cf / feature / conncontrol.m4
blobd5e449aac992e999f19e1dd7836479da1e79a736
1 divert(-1)
3 # Copyright (c) 2003, 2004 Sendmail, Inc. and its suppliers.
4 #       All rights reserved.
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.
10 # ident "%Z%%M% %I%     %E% SMI"
13 divert(0)
14 VERSIONID(`$Id: conncontrol.m4,v 1.4 2004/02/19 21:31:47 ca Exp $')
16 divert(-1)
17 ifdef(`_ACCESS_TABLE_', `
18         define(`_CONN_CONTROL_', `1')
19         ifelse(defn(`_ARG_'), `', `',
20                 strcasecmp(defn(`_ARG_'), `nodelay'), `1',
21                 `ifdef(`_DELAY_CHECKS_',
22                         `
23                         define(`_CONN_CONTROL_IMMEDIATE_', `1')
24                         define(`_CONTROL_IMMEDIATE_', `1')
25                         ',
26                         `errprint(`*** ERROR: FEATURE(`conncontrol', `nodelay') requires FEATURE(`delay_checks')')'
27                 )',
28                 `errprint(`*** ERROR: unknown parameter '"defn(`_ARG_')"` for FEATURE(`conncontrol')')')
29         define(`_FFR_SRCHLIST_A', `1')
30         ifelse(len(X`'_ARG2_), `1', `',
31                 _ARG2_, `terminate', `define(`_CONN_CONTROL_REPLY', `421')',
32                 `errprint(`*** ERROR: FEATURE(`conncontrol'): unknown argument '"_ARG2_"
34                 )
35         ', `errprint(`*** ERROR: FEATURE(`conncontrol') requires FEATURE(`access_db')
36 ')')
37 ifdef(`_CONN_CONTROL_REPLY',,`define(`_CONN_CONTROL_REPLY', `452')')