From: simonmar Date: Wed, 26 Mar 2003 12:33:11 +0000 (+0000) Subject: [project @ 2003-03-26 12:33:10 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1030 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=943c67d68bd033d2a8d62c85ce69f8b6a0b11e3b;p=ghc-hetmet.git [project @ 2003-03-26 12:33:10 by simonmar] Check for the rlim_t type --- diff --git a/acconfig.h b/acconfig.h index 91f5df6..51979e0 100644 --- a/acconfig.h +++ b/acconfig.h @@ -531,6 +531,9 @@ /* Define to Haskell type for ptrdiff_t */ #undef HTYPE_PTRDIFF_T +/* Define to Haskell type for rlim_t */ +#undef HTYPE_RLIM_T + /* Define to Haskell type for short */ #undef HTYPE_SHORT diff --git a/aclocal.m4 b/aclocal.m4 index 6628be4..5d759ed 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl $Id: aclocal.m4,v 1.114 2003/03/21 10:59:20 simonmar Exp $ +dnl $Id: aclocal.m4,v 1.115 2003/03/26 12:33:11 simonmar Exp $ dnl dnl Extra autoconf macros for the Glasgow fptools dnl @@ -669,6 +669,10 @@ AC_CACHE_VAL(AC_CV_NAME, # include #endif +#ifdef HAVE_SYS_RESOURCE_H +# include +#endif + typedef $1 testing; main() { diff --git a/configure.in b/configure.in index ce91af4..ccaa828 100644 --- a/configure.in +++ b/configure.in @@ -841,6 +841,7 @@ FPTOOLS_CHECK_HTYPE(tcflag_t) FPTOOLS_CHECK_HTYPE(blkcnt_t) FPTOOLS_CHECK_HTYPE(nlink_t) FPTOOLS_CHECK_HTYPE(ssize_t) +FPTOOLS_CHECK_HTYPE(rlim_t) dnl ** Map OpenGL data types to Haskell types if test $GhcLibsWithHOpenGL = YES ; then diff --git a/mk/config.h.in b/mk/config.h.in index e484858..b66c524 100644 --- a/mk/config.h.in +++ b/mk/config.h.in @@ -532,6 +532,9 @@ /* Define to Haskell type for ptrdiff_t */ #undef HTYPE_PTRDIFF_T +/* Define to Haskell type for rlim_t */ +#undef HTYPE_RLIM_T + /* Define to Haskell type for short */ #undef HTYPE_SHORT