483 |
[$4])])]) |
[$4])])]) |
484 |
|
|
485 |
|
|
486 |
# ----------------- # |
|
487 |
# Specific checks. # |
# ------------------------------------------------------- # |
488 |
# ----------------- # |
# Members that ought to be tested with AC_CHECK_MEMBERS. # |
489 |
|
# ------------------------------------------------------- # |
490 |
|
|
491 |
|
AN_IDENTIFIER([st_blksize], [AC_CHECK_MEMBERS([struct stat.st_blksize])]) |
492 |
|
AN_IDENTIFIER([st_rdev], [AC_CHECK_MEMBERS([struct stat.st_rdev])]) |
493 |
|
|
494 |
|
|
495 |
# Alphabetic order, please. |
# Alphabetic order, please. |
496 |
|
|
523 |
# Please note that it will define `HAVE_STRUCT_STAT_ST_BLOCKS', |
# Please note that it will define `HAVE_STRUCT_STAT_ST_BLOCKS', |
524 |
# and not `HAVE_ST_BLOCKS'.])dnl |
# and not `HAVE_ST_BLOCKS'.])dnl |
525 |
# |
# |
526 |
|
AN_IDENTIFIER([st_blocks], [AC_STRUCT_ST_BLOCKS]) |
527 |
AC_DEFUN([AC_STRUCT_ST_BLOCKS], |
AC_DEFUN([AC_STRUCT_ST_BLOCKS], |
528 |
[AC_CHECK_MEMBERS([struct stat.st_blocks], |
[AC_CHECK_MEMBERS([struct stat.st_blocks], |
529 |
[AC_DEFINE(HAVE_ST_BLOCKS, 1, |
[AC_DEFINE(HAVE_ST_BLOCKS, 1, |
574 |
# Figure out how to get the current timezone. If `struct tm' has a |
# Figure out how to get the current timezone. If `struct tm' has a |
575 |
# `tm_zone' member, define `HAVE_TM_ZONE'. Otherwise, if the |
# `tm_zone' member, define `HAVE_TM_ZONE'. Otherwise, if the |
576 |
# external array `tzname' is found, define `HAVE_TZNAME'. |
# external array `tzname' is found, define `HAVE_TZNAME'. |
577 |
|
AN_IDENTIFIER([tm_zone], [AC_STRUCT_TIMEZONE]) |
578 |
AC_DEFUN([AC_STRUCT_TIMEZONE], |
AC_DEFUN([AC_STRUCT_TIMEZONE], |
579 |
[AC_REQUIRE([AC_STRUCT_TM])dnl |
[AC_REQUIRE([AC_STRUCT_TM])dnl |
580 |
AC_CHECK_MEMBERS([struct tm.tm_zone],,,[#include <sys/types.h> |
AC_CHECK_MEMBERS([struct tm.tm_zone],,,[#include <sys/types.h> |