On NextStep, <utime.h> doesn't define struct utime, unless we
authorJim Blandy <jimb@red-bean.com>
Tue, 3 Sep 1996 04:42:59 +0000 (04:42 +0000)
committerJim Blandy <jimb@red-bean.com>
Tue, 3 Sep 1996 04:42:59 +0000 (04:42 +0000)
commit2170fce3df1f08aa410a4b4e981e0f90d2dc921b
tree3af7aa7b992c2a618a994b322b037232f59551ec
parent087d2a6f987fa169fd9c9da67930749e5ace0df9
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__.
libguile/configure.in