The following macros check for certain structures or structure members.
Perform all the actions of
AC_HEADER_DIRENT(see Particular Headers). Then, ifstruct direntcontains ad_inomember, defineHAVE_STRUCT_DIRENT_D_INO.
HAVE_STRUCT_DIRENT_D_INOindicates only the presence ofd_ino, not whether its contents are always reliable. Traditionally, a zerod_inoindicated a deleted directory entry, though current systems hide this detail from the user and never return zerod_inovalues. Many current systems report an incorrectd_inofor a directory entry that is a mount point.
Perform all the actions of
AC_HEADER_DIRENT(see Particular Headers). Then, ifstruct direntcontains ad_typemember, defineHAVE_STRUCT_DIRENT_D_TYPE.
If
struct statcontains anst_blocksmember, defineHAVE_STRUCT_STAT_ST_BLOCKS. Otherwise, require anAC_LIBOBJreplacement of ‘fileblocks’. The former name,HAVE_ST_BLOCKSis to be avoided, as its support will cease in the future.This macro caches its result in the
ac_cv_member_struct_stat_st_blocksvariable.