X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fsys_times.m4;h=33010700b70aedd831417edae0ee035de4f9839f;hp=cbaa6feb13427676773ef389a9cafe22471cff0f;hb=e8a409b21cb50f5931ab02ce6ab4f4406be94394;hpb=b4508f6b917660970f887894a6aaed6c220a2c72 diff --git a/m4/sys_times.m4 b/m4/sys_times.m4 index cbaa6fe..3301070 100644 --- a/m4/sys_times.m4 +++ b/m4/sys_times.m4 @@ -1,12 +1,12 @@ -AC_DEFUN(PSI_CHECK_SYS_TIMES, [ - AC_CHECK_HEADERS(sys/times.h) - +PSI_CHECK_SYS_TIMES() { + PSI_CONFIG_POSIX(sys/times, sys/times.h) + PSI_STRUCT(struct tms, [ clock_t tms_utime, clock_t tms_stime, clock_t tms_cutime, clock_t tms_cstime] ) - + PSI_DECL(clock_t times, [(struct tms *buf)]) -]) +}