avoid busting bash's stack with a too big if body in configure
[m6w6/ext-psi] / m4 / sys_time.m4
index 861fa41af85f16484101855dd89300a895af94a5..1b845dd5b8e7f35aef9b290ba6533a35c6316e0d 100644 (file)
@@ -1,4 +1,4 @@
-AC_DEFUN(PSI_CHECK_SYS_TIME, [
+PSI_CHECK_SYS_TIME() {
        AC_CHECK_HEADERS(sys/time.h)
 
        PSI_CONST(ITIMER_REAL, int)
@@ -19,8 +19,8 @@ AC_DEFUN(PSI_CHECK_SYS_TIME, [
        )
 
        PSI_DECL(int getitimer, [(int which, struct itimerval *value)])
-       PSI_DECL(int setitimer, [(int which struct itimerval *value, struct itimerval *ovalue)])
+       PSI_DECL(int setitimer, [(int which, struct itimerval *value, struct itimerval *ovalue)])
        PSI_DECL(int gettimeofday, [(struct timeval *tp, struct timezone *tz)])
        PSI_DECL(int utimes, [(char *path, struct timeval times@<:@2@:>@)])
        PSI_DECL(int utimensat, [(int fd, char *path, struct timespec times@<:@2@:>@)])
-])
+}