[project @ 2003-03-26 12:33:10 by simonmar]
authorsimonmar <unknown>
Wed, 26 Mar 2003 12:33:11 +0000 (12:33 +0000)
committersimonmar <unknown>
Wed, 26 Mar 2003 12:33:11 +0000 (12:33 +0000)
Check for the rlim_t type

acconfig.h
aclocal.m4
configure.in
mk/config.h.in

index 91f5df6..51979e0 100644 (file)
 /* 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
 
index 6628be4..5d759ed 100644 (file)
@@ -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 <GL/gl.h>
 #endif
 
+#ifdef HAVE_SYS_RESOURCE_H
+# include <sys/resource.h>
+#endif
+
 typedef $1 testing;
 
 main() {
index ce91af4..ccaa828 100644 (file)
@@ -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
index e484858..b66c524 100644 (file)
 /* 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