You should need to define it only when porting sendmail
to a completely new architecture.
If you are running a precompiled sendmail binary, you can use the -d0.10 debugging switch
(?ยง15.7.1 on page 542) to determine whether SHARE_V1 is defined (if it appears in the list,
support is included). New ports should be reported to sendmail@sendmail.org so that they
can be folded into future releases.
3.4.53 SM_...
sendmail porting settings (V8.12 and above) Port with confENVDEF
Beginning withV8.12, the per-operating-system compile-time macros were removed from
the sendmail/conf.h file, and were moved into the include/sm/conf.h file. In addition to
moving them, they were also all prefixed with the characters SM_.
These compile-time macros are most certainly defined correctly for your operating system.
In the rare event you are porting sendmail to a new operating system, you might need to
tune these on a selective basis:
SM_CONF_BROKEN_SIZE_T
On most systems, the size_t type is defined as an unsigned variable. When porting, if
that is not the case on your system, define this compile-time macro:
APPENDDEF(`confENVDEF??, `-DSM_CONF_BROKEN_SIZE_T=1??)
SM_CONF_BROKEN_STRTOD
The sendmail program uses printf(3) and scanf(3) withdouble-precision conversions,
which will cause them to return improper results on some operating systems. When
porting, if your operating system returns improper results, you can define this
compile-time macro:
APPENDDEF(`confENVDEF??, `-DSM_CONF_BROKEN_STRTOD=1??)
See libsm/t-float.
Pages:
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275