From: Jim S. <jse...@us...> - 2002-05-04 03:34:49
|
Update of /cvsroot/gaim/gaim In directory usw-pr-cvs1:/tmp/cvs-serv20793 Modified Files: configure.ac configure.in Log Message: Fixed timezone stuff again. Maybe this'll do it? Index: configure.ac =================================================================== RCS file: /cvsroot/gaim/gaim/configure.ac,v retrieving revision 1.62 retrieving revision 1.63 diff -u -d -r1.62 -r1.63 --- configure.ac 3 May 2002 01:09:49 -0000 1.62 +++ configure.ac 4 May 2002 03:34:46 -0000 1.63 @@ -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 <sys/types.h> +#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 Index: configure.in =================================================================== RCS file: /cvsroot/gaim/gaim/configure.in,v retrieving revision 1.106 retrieving revision 1.107 diff -u -d -r1.106 -r1.107 --- configure.in 3 May 2002 01:09:49 -0000 1.106 +++ configure.in 4 May 2002 03:34:46 -0000 1.107 @@ -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 <sys/types.h> +#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. |