]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/sendmail/cf/feature/prefixmod.m4
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / sendmail / cf / feature / prefixmod.m4
1 divert(-1)
2 #
3 # Copyright (c) 2014 Proofpoint, 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 #
11
12 divert(-1)
13 # Arguments:
14 # 1: prefix to match; must be one or more tokens
15 #    (this is not a "substring" match)
16 # 2: flags to set
17 # NYI: 3: replacement for 1 (empty for now)
18
19 ifelse(defn(`_ARG_'), `', `errprint(`Feature "prefixmod" requires argument')',
20         `define(`_PREFIX_MOD_', _ARG_)')
21 ifelse(len(X`'_ARG2_),`1', `errprint(`Feature "prefixmod" requires two arguments')',
22         `define(`_PREFIX_FLAGS_', _ARG2_)')
23
24 define(`_NEED_MACRO_MAP_', `1')