???
If they don??™t, define this, and the format strings for printf(3) will instead use ???%qd??? and ???%qu,??? respectively.
This NEED_PERCENTQ macro has been eliminated as of V8.12 sendmail.
NEEDPUTENV Replace a missing putenv(3). If this is defined as 1, sendmail emulates by using setenv(3). If this is
defined as 2, sendmail emulates by directly modifying the environmental section of memory.
NEEDSTRSTR Replace a missing strstr(3) with a well-written internal version.
NEEDSTRTOL Replace a missing strtol(3) with a well-written internal version.
NEEDVPRINTF Replace a missing vprintf(3). The replacement is not very elegant. It might not even work on some systems.
See sendmail/conf.h (include/sm/conf.h beginning with V8.12) for a glimpse of systems that
require this.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
3.4 Compile-Time Macro Reference | 127
Stubs are included in the source code for any programmer who is interested in implementing
NETNS or NETX25. In general, the others are already declared appropriately for
your system. Should you desire to change one, you can do so in your Build m4 file. The
following, for example, removes support for IPv4 from sendmail:
APPENDDEF(`confENVDEF??, `-DNETINET=0??)
Defining network support only causes the code for that network to be included in sendmail.
Pages:
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251