xref: /titanic_50/usr/src/cmd/sendmail/cf/feature/smrsh.m4 (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gatedivert(-1)
2*7c478bd9Sstevel@tonic-gate#
3*7c478bd9Sstevel@tonic-gate# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
4*7c478bd9Sstevel@tonic-gate#	All rights reserved.
5*7c478bd9Sstevel@tonic-gate# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
6*7c478bd9Sstevel@tonic-gate# Copyright (c) 1988, 1993
7*7c478bd9Sstevel@tonic-gate#	The Regents of the University of California.  All rights reserved.
8*7c478bd9Sstevel@tonic-gate#
9*7c478bd9Sstevel@tonic-gate# By using this file, you agree to the terms and conditions set
10*7c478bd9Sstevel@tonic-gate# forth in the LICENSE file which can be found at the top level of
11*7c478bd9Sstevel@tonic-gate# the sendmail distribution.
12*7c478bd9Sstevel@tonic-gate#
13*7c478bd9Sstevel@tonic-gate#
14*7c478bd9Sstevel@tonic-gate
15*7c478bd9Sstevel@tonic-gatedivert(0)
16*7c478bd9Sstevel@tonic-gateVERSIONID(`$Id: smrsh.m4,v 8.14 1999/11/18 05:06:23 ca Exp $')
17*7c478bd9Sstevel@tonic-gatedivert(-1)
18*7c478bd9Sstevel@tonic-gate
19*7c478bd9Sstevel@tonic-gateifdef(`_MAILER_local_',
20*7c478bd9Sstevel@tonic-gate	`errprint(`*** FEATURE(smrsh) must occur before MAILER(local)
21*7c478bd9Sstevel@tonic-gate')')dnl
22*7c478bd9Sstevel@tonic-gatedefine(`LOCAL_SHELL_PATH',
23*7c478bd9Sstevel@tonic-gate	ifelse(defn(`_ARG_'), `',
24*7c478bd9Sstevel@tonic-gate		ifdef(`confEBINDIR', confEBINDIR, `/usr/libexec')`/smrsh',
25*7c478bd9Sstevel@tonic-gate		_ARG_))
26*7c478bd9Sstevel@tonic-gate_DEFIFNOT(`LOCAL_SHELL_ARGS', `smrsh -c $u')
27