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