mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 21:10:27 +02:00
(AC_CHECK_MEMBERS): Test struct tm.tm_gmtoff.
This commit is contained in:
parent
e11f46816f
commit
0ebff347ec
1 changed files with 15 additions and 0 deletions
15
configure.in
15
configure.in
|
@ -923,6 +923,7 @@ fi
|
||||||
# st_rdev
|
# st_rdev
|
||||||
# st_blksize
|
# st_blksize
|
||||||
# st_blocks not in mingw
|
# st_blocks not in mingw
|
||||||
|
# tm_gmtoff BSD+GNU, not in C99
|
||||||
#
|
#
|
||||||
# Note AC_STRUCT_ST_BLOCKS is not used here because we don't want the
|
# Note AC_STRUCT_ST_BLOCKS is not used here because we don't want the
|
||||||
# AC_LIBOBJ(fileblocks) replacement which that macro gives.
|
# AC_LIBOBJ(fileblocks) replacement which that macro gives.
|
||||||
|
@ -930,8 +931,22 @@ fi
|
||||||
AC_CHECK_MEMBERS([struct stat.st_rdev, struct stat.st_blksize, struct stat.st_blocks])
|
AC_CHECK_MEMBERS([struct stat.st_rdev, struct stat.st_blksize, struct stat.st_blocks])
|
||||||
|
|
||||||
AC_STRUCT_TIMEZONE
|
AC_STRUCT_TIMEZONE
|
||||||
|
AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,
|
||||||
|
[#include <time.h>
|
||||||
|
#ifdef TIME_WITH_SYS_TIME
|
||||||
|
# include <sys/time.h>
|
||||||
|
# include <time.h>
|
||||||
|
#else
|
||||||
|
# if HAVE_SYS_TIME_H
|
||||||
|
# include <sys/time.h>
|
||||||
|
# else
|
||||||
|
# include <time.h>
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
])
|
||||||
GUILE_STRUCT_UTIMBUF
|
GUILE_STRUCT_UTIMBUF
|
||||||
|
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Which way does the stack grow?
|
# Which way does the stack grow?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue