From e2e80125a6d6ebe1d081713ef000ed9712bfbb05 Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Wed, 9 Aug 2006 12:42:15 +0000 Subject: [PATCH] move altzone test to base package --- aclocal.m4 | 21 --------------------- configure.ac | 6 ------ 2 files changed, 27 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 62c5de7..003caa3 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -75,27 +75,6 @@ AC_SUBST(ContextDiffCmd, [$fp_cv_context_diff]) ])# FP_PROG_CONTEXT_DIFF -# FP_DECL_ALTZONE -# --------------- -# Defines HAVE_DECL_ALTZONE to 1 if declared, 0 otherwise. -# -# Used by base package. -AC_DEFUN([FP_DECL_ALTZONE], -[AC_REQUIRE([AC_HEADER_TIME])dnl -AC_CHECK_HEADERS([sys/time.h]) -AC_CHECK_DECLS([altzone], [], [],[#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif]) -])# FP_DECL_ALTZONE - - # FP_COMPUTE_INT(EXPRESSION, VARIABLE, INCLUDES, IF-FAILS) # -------------------------------------------------------- # Assign VARIABLE the value of the compile-time EXPRESSION using INCLUDES for diff --git a/configure.ac b/configure.ac index d565073..da482a0 100644 --- a/configure.ac +++ b/configure.ac @@ -962,12 +962,6 @@ AC_SUBST(GhcLibsWithReadline) dnl ** check if it is safe to include both and AC_HEADER_TIME -dnl ** how do we get a timezone name, and UTC offset ? -AC_STRUCT_TIMEZONE - -dnl ** do we have altzone? -FP_DECL_ALTZONE - dnl ** do we have long longs? AC_CHECK_TYPES([long long]) -- 1.7.10.4