c to discover how to detect whether this is needed.
SM_CONF_GETOPT
The sendmail program, and all its companion programs, use the getopt(3) routine to
parse command-line arguments. When porting, if your compiler library lacks a
getopt(3) routine, define this compile-time macro with a value of zero:
APPENDDEF(`confENVDEF??, `-DSM_CONF_GETOPT=0??)
SM_CONF_LDAP_MEMFREE
When porting, if your LDAP library includes the ldap_memfree(3) routine, you can
define this compile-time macro:
APPENDDEF(`confENVDEF??, `-DSM_CONF_LDAP_MEMFREE=1??)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
140 | Chapter 3: Tune sendmail with Compile-Time Macros
SM_CONF_LONGLONG
The 1999 ISO C-language standard defines a long long type. When porting, if your
compiler supports this type, define this compile-time macro:
APPENDDEF(`confENVDEF??, `-DSM_CONF_LONGLONG=1??)
SM_CONF_MEMCHR
When porting, if your C-language library includes the memchr(3) routine, define this
compile-time macro:
APPENDDEF(`confENVDEF', `-DSM_CONF_MEMCHR=1')
SM_CONF_MSG
When porting, if your system supports System V IPC message queues, you can define
this compile-time macro:
APPENDDEF(`confENVDEF??, `-DSM_CONF_MSG=1??)
SM_CONF_QUAD_T
When porting, if your C-language compiler lacks the long long type, but your /usr/
include/sys/types.
Pages:
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276