1 AC_DEFUN(PSI_CHECK_SYS_TIME, [
2 AC_CHECK_HEADERS(sys/time.h)
4 PSI_CONST(ITIMER_REAL, int)
5 PSI_CONST(ITIMER_VIRTUAL, int)
6 PSI_CONST(ITIMER_PROF, int)
8 PSI_STRUCT(struct timeval, [
12 PSI_STRUCT(struct itimerval, [
13 struct timeval it_interval,
14 struct timeval it_value]
16 PSI_STRUCT(struct timezone, [
21 PSI_DECL(int getitimer, [(int which, struct itimerval *value)])
22 PSI_DECL(int setitimer, [(int which struct itimerval *value, struct itimerval *ovalue)])
23 PSI_DECL(int gettimeofday, [(struct timeval *tp, struct timezone *tz)])
24 PSI_DECL(int utimes, [(char *path, struct timeval times@<:@2@:>@)])
25 PSI_DECL(int utimensat, [(int fd, char *path, struct timespec times@<:@2@:>@)])