/[autoconf]/autoconf/lib/autoconf/types.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/types.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by eggert, Wed May 29 22:27:14 2002 UTC revision 1.19 by akim, Sat Sep 28 14:07:47 2002 UTC
# Line 483  $2], Line 483  $2],
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    
# Line 518  AC_CHECK_MEMBERS([struct stat.st_blksize Line 523  AC_CHECK_MEMBERS([struct stat.st_blksize
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,
# Line 568  fi Line 574  fi
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>

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26