From ca40fafedb504ff0195e347886e96a0268b3f5db Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Fri, 24 Oct 2008 12:32:31 +0200 Subject: [PATCH] Remove timezone autoconf checks and system.h reference - timezone is no more used so it's no more needed --- configure.ac | 4 ---- system.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/configure.ac b/configure.ac index 5e10426..c86d06d 100644 --- a/configure.ac +++ b/configure.ac @@ -616,10 +616,6 @@ if test $HAS_S_ISSOCK = yes; then AC_DEFINE(HAVE_S_ISSOCK, 1, [Define as 1 if defines S_ISSOCK]) fi -AC_MSG_CHECKING(if timezone is defined) -AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[printf("%ld", timezone)]])],[HAS_TIMEZONE=yes],[HAS_TIMEZONE=no]) -AC_MSG_RESULT($HAS_TIMEZONE) - dnl Check for missing typedefs AC_TYPE_MODE_T AC_TYPE_OFF_T diff --git a/system.h b/system.h index 7bac087..e0e750f 100644 --- a/system.h +++ b/system.h @@ -43,10 +43,6 @@ extern char ** environ; # endif #endif -#if NEED_TIMEZONE -extern time_t timezone; -#endif - /* Since major is a function on SVR4, we can't use `ifndef major'. */ #if MAJOR_IN_MKDEV #include -- 2.7.4