xref: /illumos-gate/usr/src/cmd/sendmail/cf/feature/always_add_domain.m4 (revision 9b9d39d2a32ff806d2431dbcc50968ef1e6d46b2)
1divert(-1)
2#
3# Copyright (c) 1998-2000 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#ident	"%Z%%M%	%I%	%E% SMI"
14#
15
16divert(0)
17VERSIONID(`$Id: always_add_domain.m4,v 8.11 2000/09/12 22:00:53 ca Exp $')
18divert(-1)
19
20ifdef(`_MAILER_local_',
21	`errprint(`*** MAILER(`local') must appear after FEATURE(`always_add_domain')')
22')dnl
23define(`_ALWAYS_ADD_DOMAIN_', ifelse(len(X`'_ARG_),`1',`',_ARG_))
24