h file does not exist, define this compile-time
macro as zero:
APPENDDEF(`confENVDEF??, `-DSM_CONF_STDDEF_H=0??)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
3.4 Compile-Time Macro Reference | 141
SM_CONF_STRL
When porting, if the strlcpy(3) and strlcat(3) C-language library routines are available,
first define this compile-time macro with a value of 1:
APPENDDEF(`confENVDEF??, `-DSM_CONF_STRL=1??) ?†? use the library routines
Then, compile and run the benchmark program libsm/b-strl.c. If the benchmark
program??™s output shows that the libsm-provided versions of those routines are faster,
redefine SM_CONF_STRL to zero (the default):
APPENDDEF(`confENVDEF??, `-DSM_CONF_STRL=0??) ?†? if b-strl.c shows libsm versions faster
SM_CONF_SYS_CDEFS_H
When porting, if the /usr/include/sys/cdefs.h file exists, and if that file defines __P, you
should define this compile-time macro:
APPENDDEF(`confENVDEF??, `-DSM_CONF_SYS_CDEFS_H=1??)
If you misdefine SM_CONF_SYS_CDEFS_H, you will see warnings, when building,
about __P being defined multiple times.
SM_CONF_SYSEXITS_H
When porting, if the /usr/include/sysexits.h file exists and defines the various EX_
macros differently than the include/sm/sysexits.h file does, define this compile-time
macro:
APPENDDEF(`confENVDEF??, `-DSM_CONF_SYSEXITS_H=1??)
SM_CONF_UID_GID
When porting, if the file /usr/include/sys/types.
Pages:
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278