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