X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Ftime.m4;h=e1b4011c7910bf30c11f34fafb29c6809939c3d5;hb=7fa8158cfcdd526f247d063202dc57c7f76901d8;hp=c6f71b7ad7910f08ece56ccadb6d209b07df5125;hpb=b1720af16e5d7765e2effcd16e23f351c2f82e54;p=m6w6%2Fext-psi diff --git a/m4/time.m4 b/m4/time.m4 index c6f71b7..e1b4011 100644 --- a/m4/time.m4 +++ b/m4/time.m4 @@ -1,5 +1,5 @@ PSI_CHECK_TIME() { - AC_CHECK_HEADERS(time.h) + PSI_CONFIG_POSIX(time, time.h) PSI_CONST(CLOCKS_PER_SEC, int) PSI_CONST(CLOCK_MONOTONIC, int) @@ -56,4 +56,8 @@ 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, [()]) + + PSI_EXTVAR(int daylight) + PSI_EXTVAR(long timezone) + PSI_EXTVAR(char **tzname) }