autoconf: split into subdirectories; redirect calls in debug builds
[m6w6/ext-psi] / m4 / posix / sys_times.m4
diff --git a/m4/posix/sys_times.m4 b/m4/posix/sys_times.m4
new file mode 100644 (file)
index 0000000..3301070
--- /dev/null
@@ -0,0 +1,12 @@
+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)])
+}