X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=10cd4a7c654dd06d2cf2172b1b2e3b0a49b4cef2;hb=7bd8a0491055e7ca5709109400459556e870250a;hp=967f82273a806a58a8752a0d90065030bec28298;hpb=69b53de75dea9499c6a03071753eb914fa983836;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index 967f822..10cd4a7 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,56 +1,9 @@ -dnl $Id: aclocal.m4,v 1.125 2003/08/18 09:23:09 dons Exp $ -dnl dnl Extra autoconf macros for the Glasgow fptools dnl 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 -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# 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 -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# 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,