xref: /freebsd/contrib/sendmail/cf/feature/always_add_domain.m4 (revision ee7b0571c2c18bdec848ed2044223cc88db29bd8)
1c2aa98e2SPeter Wemmdivert(-1)
2c2aa98e2SPeter Wemm#
35dd76dd0SGregory Neil Shapiro# Copyright (c) 1998-2000 Proofpoint, Inc. and its suppliers.
406f25ae9SGregory Neil Shapiro#	All rights reserved.
5c2aa98e2SPeter Wemm# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
6c2aa98e2SPeter Wemm# Copyright (c) 1988, 1993
7c2aa98e2SPeter Wemm#	The Regents of the University of California.  All rights reserved.
8c2aa98e2SPeter Wemm#
9c2aa98e2SPeter Wemm# By using this file, you agree to the terms and conditions set
10c2aa98e2SPeter Wemm# forth in the LICENSE file which can be found at the top level of
11c2aa98e2SPeter Wemm# the sendmail distribution.
12c2aa98e2SPeter Wemm#
13c2aa98e2SPeter Wemm#
14c2aa98e2SPeter Wemm
15c2aa98e2SPeter Wemmdivert(0)
16*4313cc83SGregory Neil ShapiroVERSIONID(`$Id: always_add_domain.m4,v 8.12 2013-11-22 20:51:11 ca Exp $')
17c2aa98e2SPeter Wemmdivert(-1)
18c2aa98e2SPeter Wemm
1940266059SGregory Neil Shapiroifdef(`_MAILER_local_',
2040266059SGregory Neil Shapiro	`errprint(`*** MAILER(`local') must appear after FEATURE(`always_add_domain')')
2140266059SGregory Neil Shapiro')dnl
2240266059SGregory Neil Shapirodefine(`_ALWAYS_ADD_DOMAIN_', ifelse(len(X`'_ARG_),`1',`',_ARG_))
23