avoid busting bash's stack with a too big if body in configure
[m6w6/ext-psi] / m4 / time.m4
index a4cb58e7501b1f866024e602703f678fad65ecc5..c6f71b7ad7910f08ece56ccadb6d209b07df5125 100644 (file)
@@ -1,4 +1,4 @@
-AC_DEFUN(PSI_CHECK_TIME, [
+PSI_CHECK_TIME() {
        AC_CHECK_HEADERS(time.h)
 
        PSI_CONST(CLOCKS_PER_SEC, int)
@@ -56,4 +56,4 @@ AC_DEFUN(PSI_CHECK_TIME, [
        PSI_DECL(int timer_gettime, [(timer_t t, struct itimerspec *ts)])
        PSI_DECL(int timer_settime, [(timer_t t, int flags, struct itimerspec *value, struct itimerspec *ovalue)])
        PSI_DECL(void tzset, [()])
-])
+}