prefixmod.m4 revision 275719
1275719Sgshapirodivert(-1) 2275719Sgshapiro# 3275719Sgshapiro# Copyright (c) 2014 Proofpoint, Inc. and its suppliers. 4275719Sgshapiro# All rights reserved. 5275719Sgshapiro# 6275719Sgshapiro# By using this file, you agree to the terms and conditions set 7275719Sgshapiro# forth in the LICENSE file which can be found at the top level of 8275719Sgshapiro# the sendmail distribution. 9275719Sgshapiro# 10275719Sgshapiro# 11275719Sgshapiro 12275719Sgshapirodivert(-1) 13275719Sgshapiro# Arguments: 14275719Sgshapiro# 1: prefix to match; must be one or more tokens 15275719Sgshapiro# (this is not a "substring" match) 16275719Sgshapiro# 2: flags to set 17275719Sgshapiro# NYI: 3: replacement for 1 (empty for now) 18275719Sgshapiro 19275719Sgshapiroifelse(defn(`_ARG_'), `', `errprint(`Feature "prefixmod" requires argument')', 20275719Sgshapiro `define(`_PREFIX_MOD_', _ARG_)') 21275719Sgshapiroifelse(len(X`'_ARG2_),`1', `errprint(`Feature "prefixmod" requires two arguments')', 22275719Sgshapiro `define(`_PREFIX_FLAGS_', _ARG2_)') 23275719Sgshapiro 24275719Sgshapirodefine(`_NEED_MACRO_MAP_', `1') 25