mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
On NextStep, <utime.h> doesn't define struct utime, unless we
#define _POSIX_SOURCE before #including it. * aclocal.m4 (GUILE_STRUCT_UTIMBUF): New test. * acconfig.h: New comment text for above CPP symbol. * configure.in: Call it. * posix.c: #define _POSIX_SOURCE if it seems necessary. * configure.in (AC_CHECK_HEADERS): Include sys/utime.h and utime.h in the list. * posix.c: Check HAVE_SYS_UTIME_H and HAVE_UTIME_H, instead of testing for __EMX__.
This commit is contained in:
parent
087d2a6f98
commit
2170fce3df
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,7 @@ AC_HEADER_STDC
|
|||
AC_HEADER_DIRENT
|
||||
AC_HEADER_TIME
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_CHECK_HEADERS(libc.h limits.h malloc.h memory.h string.h sys/ioctl.h sys/select.h sys/time.h sys/timeb.h sys/times.h sys/types.h time.h unistd.h)
|
||||
AC_CHECK_HEADERS(libc.h limits.h malloc.h memory.h string.h sys/ioctl.h sys/select.h sys/time.h sys/timeb.h sys/times.h sys/types.h sys/utime.h time.h unistd.h utime.h)
|
||||
|
||||
AC_TYPE_GETGROUPS
|
||||
AC_TYPE_SIGNAL
|
||||
|
@ -49,6 +49,7 @@ AC_REPLACE_FUNCS(inet_aton strerror)
|
|||
AC_STRUCT_ST_RDEV
|
||||
AC_STRUCT_ST_BLKSIZE
|
||||
AC_STRUCT_ST_BLOCKS
|
||||
GUILE_STRUCT_UTIMBUF
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue