The possibilities are:
DEBUG
Sets the confOPTIMIZE Build macro to a value of -g for FreeBSD or -g -Wall for Linux
OPTIMIZED
Sets the confOPTIMIZE Build macro to a value of -O for FreeBSD or -O2 for Linux
PURIFY
Sets the confOPTIMIZE Build macro to a value of -g for FreeBSD and Linux
You use the confBLDVARIANT Build macro like this:
define(`confBLDVARIANT??, `DEBUG??)
define(`confBLDVARIANT??, `OPTIMIZED??)
define(`confBLDVARIANT??, `PURIFY??)
The -v command-line switch(?§10.1.13 on page 353) for the Build program uses commandline
arguments of debug, optimized, and purify to automatically set this confBLDVARIANT
macro.
Note that the arguments used for confBLDVARIANT are all uppercase, whereas those used for
-v are all lowercase.
Variants are available only for FreeBSD and Linux as of V8.12.2 sendmail. If you are on
another OS, this macro will silently be ignored. If you attempt to use PURIFY, you will see
the following Build-time error:
Sorry, the purify build variant has not been plumbed yet. (Bummer.)
Read the RELEASE_NOTES file supplied withth e sendmail source to see whether more
recent versions support purify and other operating systems.
* There is no method provided with the m4 technique to automatically patch hooks into sendmail. This is still
a manual process.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152