| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.8.1 Particular Structure Checks
The following macros check for certain structures or structure members.
- Macro: AC_STRUCT_DIRENT_D_INO
-
Perform all the actions of
AC_HEADER_DIRENT(see section Particular Header Checks). 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.
- Macro: AC_STRUCT_DIRENT_D_TYPE
-
Perform all the actions of
AC_HEADER_DIRENT(see section Particular Header Checks). Then, ifstruct direntcontains ad_typemember, defineHAVE_STRUCT_DIRENT_D_TYPE.
- Macro: AC_STRUCT_ST_BLOCKS
-
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.
- Macro: AC_STRUCT_TM
-
If ‘time.h’ does not define
struct tm, defineTM_IN_SYS_TIME, which means that including ‘sys/time.h’ had better definestruct tm.This macro is obsolescent, as ‘time.h’ defines
struct tmin current systems. New programs need not use this macro.
- Macro: AC_STRUCT_TIMEZONE
-
Figure out how to get the current timezone. If
struct tmhas atm_zonemember, defineHAVE_STRUCT_TM_TM_ZONE(and the obsoletedHAVE_TM_ZONE). Otherwise, if the external arraytznameis found, defineHAVE_TZNAME; if it is declared, defineHAVE_DECL_TZNAME.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 26, 2012 using texi2html 5.0.
