# HG changeset patch # User Jim Seymour # Date 1020483286 0 # Node ID e3cba5bb2d69ee950c3e6b5f20bda8b9ab06c6e3 # Parent 50ba71cbcfbbbf08eb397e6bed5c65eb8db0800c [gaim-migrate @ 3220] Fixed timezone stuff again. Maybe this'll do it? committer: Tailor Script diff -r 50ba71cbcfbb -r e3cba5bb2d69 configure.ac --- a/configure.ac Sat May 04 02:06:24 2002 +0000 +++ b/configure.ac Sat May 04 03:34:46 2002 +0000 @@ -260,6 +260,20 @@ AC_SUBST(XSS_LIBS) +AC_DEFUN(GC_TM_GMTOFF, +[AC_REQUIRE([AC_STRUCT_TM])dnl +AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff, +[AC_TRY_COMPILE([#include +#include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;], + ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)]) +if test "$ac_cv_struct_tm_gmtoff" = yes; then + AC_DEFINE(HAVE_TM_GMTOFF) +fi +]) + +GC_TM_GMTOFF + + dnl This was taken straight from X-Chat. dnl X-Chat is the greatest application ever, not only diff -r 50ba71cbcfbb -r e3cba5bb2d69 configure.in --- a/configure.in Sat May 04 02:06:24 2002 +0000 +++ b/configure.in Sat May 04 03:34:46 2002 +0000 @@ -257,6 +257,18 @@ fi AC_SUBST(XSS_LIBS) +AC_DEFUN(GC_TM_GMTOFF, +[AC_REQUIRE([AC_STRUCT_TM])dnl +AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff, +[AC_TRY_COMPILE([#include +#include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;], + ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)]) +if test "$ac_cv_struct_tm_gmtoff" = yes; then + AC_DEFINE(HAVE_TM_GMTOFF) +fi +]) + +GC_TM_GMTOFF dnl This was taken straight from X-Chat. diff -r 50ba71cbcfbb -r e3cba5bb2d69 src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Sat May 04 02:06:24 2002 +0000 +++ b/src/protocols/jabber/jabber.c Sat May 04 03:34:46 2002 +0000 @@ -751,7 +751,6 @@ retval -= timezone; # endif #endif - ; } return retval; }