Replace obsolete `defaultUserHooks` by `autoconfUserHooks`
[packages/old-time.git] / aclocal.m4
1 # FP_DECL_ALTZONE
2 # ---------------
3 # Defines HAVE_DECL_ALTZONE to 1 if declared, 0 otherwise.
4 #
5 # Used by base package.
6 AC_DEFUN([FP_DECL_ALTZONE],
7 [AC_REQUIRE([AC_HEADER_TIME])dnl
8 AC_CHECK_HEADERS([sys/time.h])
9 AC_CHECK_DECLS([altzone], [], [],[#if TIME_WITH_SYS_TIME
10 # include <sys/time.h>
11 # include <time.h>
12 #else
13 # if HAVE_SYS_TIME_H
14 #  include <sys/time.h>
15 # else
16 #  include <time.h>
17 # endif
18 #endif])
19 ])# FP_DECL_ALTZONE
20