flush
[m6w6/ext-psi] / m4 / sys_times.m4
diff --git a/m4/sys_times.m4 b/m4/sys_times.m4
new file mode 100644 (file)
index 0000000..cbaa6fe
--- /dev/null
@@ -0,0 +1,12 @@
+AC_DEFUN(PSI_CHECK_SYS_TIMES, [
+       AC_CHECK_HEADERS(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)])
+])