local and smrsh Build macro
The confEBINDIR macro tells the Build program where to install the smrsh(1) (?§10.8.2 on
page 380) and mail.local(1) (?§17.8.23 on page 625) programs when they are built. Defining
it sets the directory where these programs will be installed, and where sendmail will look
when executing them. For example:
define(`confEBINDIR??, `/opt/mail/bin??)
There is not a single default for this setting. Instead, it is usually predefined in one of the
osytpe files (?§17.2.2.1 on page 590) specific to your operating system (normally /usr/libexec
or /usr/sbin).
The smrsh(1) program is located in the smrsh subdirectory of the source distribution. It can
be built like this:
% cd smrsh
% ./Build -f ../../builds/oursite.m4
The mail.local program is located in the mail.local subdirectory of the source distribution.
It can be built like this:
% cd mail.local
% ./Build -f ../../builds/oursite.m4
Be sure that the setting of confEBINDIR in your m4 build file matches the setting in your
configuration m4 file. If you fail to take this precaution, those programs will be installed in
a directory different from the one in which sendmail expects to find them.
2.7.14 confENVDEF and conf_prog_ENVDEF
Pass -D switches during compilation Build macro
The conf_prog_ENVDEF macros are used to assign values to the ENVDEF= Makefile directive
in the Makefiles for the various programs in the source tree.
Pages:
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158