summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--system.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 5e1042624..c86d06d5b 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 <sys/stat.h> defines S_ISSOCK])
fi
-AC_MSG_CHECKING(if timezone is defined)
-AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[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 7bac08793..e0e750f7f 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 <sys/mkdev.h>