diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 25 |
2 files changed, 30 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2000-04-11 Chris Toshok <toshok@helixcode.com> + + * configure.in: check for timezone as a variable (as it is in + linux, but not in freebsd or netbsd.) + 2000-04-11 Larry Ewing <lewing@helixcode.com> * widgets/e-table/e-cell-toggle.c (etog_draw): update for new diff --git a/configure.in b/configure.in index 5fed2fd6e1..e78011ef95 100644 --- a/configure.in +++ b/configure.in @@ -55,6 +55,30 @@ AM_GNOME_GETTEXT GNOME_X_CHECKS +dnl * Time zone stuff +AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone, + AC_TRY_COMPILE([ + #include <time.h> + ], [ + timezone = 1; + ], ac_cv_var_timezone=yes, ac_cv_var_timezone=no)) +if test $ac_cv_var_timezone = yes; then + AC_DEFUN(HAVE_TIMEZONE) +else + AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff, + AC_TRY_COMPILE([ + #include <time.h> + ], [ + struct tm tm; + tm.tm_gmtoff = 1; + ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)) + if test $ac_cv_struct_tm_gmtoff = yes; then + AC_DEFUN(HAVE_TM_GMTOFF) + else + AC_ERROR(unable to find a way to determine timezone) + fi +fi + AC_CHECK_FUNCS(mkstemp) dnl ************************************************** @@ -272,6 +296,7 @@ camel/providers/Makefile camel/providers/MH/Makefile camel/providers/maildir/Makefile camel/providers/mbox/Makefile +camel/providers/nntp/Makefile camel/providers/pop3/Makefile camel/providers/sendmail/Makefile camel/providers/smtp/Makefile |