diff options
author | panne <unknown> | 2003-08-18 11:16:34 +0000 |
---|---|---|
committer | panne <unknown> | 2003-08-18 11:16:34 +0000 |
commit | 7bd8a0491055e7ca5709109400459556e870250a (patch) | |
tree | ebb9abd158ca0fe6d14bb8fc7b312f021c7d9f2e /aclocal.m4 | |
parent | bb65c0a554d67fc1f4b9a87cf1f9dde5f4c05809 (diff) | |
download | haskell-7bd8a0491055e7ca5709109400459556e870250a.tar.gz |
[project @ 2003-08-18 11:16:33 by panne]
Nuked unused tests FPTOOLS_HAVE_TIMEZONE and FPTOOLS_TYPE_TIMEZONE
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index c99598ed1c..10cd4a7c65 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -4,51 +4,6 @@ dnl To be a good autoconf citizen, names of local macros have dnl prefixed with FPTOOLS_ to ensure we don't clash dnl with any pre-supplied autoconf ones. -dnl -dnl Is timezone around? (in a header file) -dnl -AC_DEFUN(FPTOOLS_HAVE_TIMEZONE, -[AC_CACHE_CHECK([timezone], fptools_cv_have_timezone, -[AC_TRY_COMPILE([#if TIME_WITH_SYS_TIME -# include <sys/time.h> -# include <time.h> -#else -# if HAVE_SYS_TIME_H -# include <sys/time.h> -# else -# include <time.h> -# endif -#endif -], [return timezone;], -fptools_cv_have_timezone=yes, fptools_cv_have_timezone=no)]) -if test "$fptools_cv_have_timezone" = yes; then - AC_DEFINE(HAVE_TIMEZONE) -fi -]) - -dnl -dnl Has timezone the type time_t or long (HP-UX 10.20 apparently -dnl has `long'..) -dnl -AC_DEFUN(FPTOOLS_TYPE_TIMEZONE, -[AC_CACHE_CHECK([type of timezone], fptools_cv_type_timezone, -[AC_TRY_COMPILE([#if TIME_WITH_SYS_TIME -# include <sys/time.h> -# include <time.h> -#else -# if HAVE_SYS_TIME_H -# include <sys/time.h> -# else -# include <time.h> -# endif -#endif - -extern time_t timezone; -], -[int i;], fptools_cv_type_timezone=time_t, fptools_cv_type_timezone=long)]) -AC_DEFINE_UNQUOTED(TYPE_TIMEZONE, $fptools_cv_type_timezone) -]) - dnl *** Is altzone available? *** dnl AC_DEFUN(FPTOOLS_ALTZONE, |