Remove timezone autoconf checks and system.h reference
authorJindrich Novy <jnovy@redhat.com>
Fri, 24 Oct 2008 10:32:31 +0000 (12:32 +0200)
committerJindrich Novy <jnovy@redhat.com>
Fri, 24 Oct 2008 10:32:31 +0000 (12:32 +0200)
- timezone is no more used so it's no more needed

configure.ac
system.h

index 5e10426..c86d06d 100644 (file)
@@ -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
index 7bac087..e0e750f 100644 (file)
--- 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>