diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-02 23:41:05 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-02 23:41:05 +0000 |
commit | 36fb06ddece99a6208807c8c3a3f48daedac91f8 (patch) | |
tree | ad487f108559a7cfbbc9ef4ccadc803b4de6685a /m4 | |
parent | a6ac740e3784fc99d6a5a6d3b7051d07c480fd53 (diff) | |
download | ATCD-36fb06ddece99a6208807c8c3a3f48daedac91f8.tar.gz |
ChangeLogTag: Thu Sep 2 16:39:29 2004 J.T. Conklin <jtc@acorntoolworks.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/platform.m4 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/m4/platform.m4 b/m4/platform.m4 index 9a5ee9daffb..c3cdf1cc9ef 100644 --- a/m4/platform.m4 +++ b/m4/platform.m4 @@ -419,3 +419,23 @@ the first joined multicast group to the socket, and all future joins on that socket will fail with an error.]) fi ]) + + +# ACE_VAR_TIMEZONE +# +# Checks whether platform has global "timezone" variable. +# +#--------------------------------------------------------------------------- +AC_DEFUN([ACE_VAR_TIMEZONE], +[AC_CACHE_CHECK([for timezone variable], + [ace_cv_var_timezone], + [AC_TRY_LINK([#include <time.h>], + [return (int)timezone;], + [ace_cv_var_timezone=yes], + [ace_cv_var_timezone=no]) + ]) +if test "$ace_cv_var_timezone" = yes; then + AC_DEFINE([ACE_HAS_TIMEZONE], 1, + [Define to 1 if platform has global timezone variable]) +fi +]) |