[project @ 2004-11-06 17:03:43 by panne]
[ghc-base.git] / configure.ac
index 8205f0e..d38d579 100644 (file)
@@ -11,7 +11,9 @@ AC_CHECK_TYPES([long long])
 # check for specific header (.h) files that we are interested in
 AC_CHECK_HEADERS([ctype.h fcntl.h signal.h sys/resource.h termios.h time.h])
 
-AC_CHECK_HEADER([unistd.h], [AC_CHECK_FUNCS(lchown)])
+# Enable large file support. Do this before testing the types ino_t, off_t, and
+# rlim_t, because it will affect the result of that test.
+AC_SYS_LARGEFILE
 
 # map standard C types and ISO types to Haskell types
 FPTOOLS_CHECK_HTYPE(char)
@@ -57,6 +59,5 @@ FP_CHECK_CONSTS([E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EADV EAFNOSUPPORT EAGAIN
 
 # Check for idiosyncracies in some mingw impls of directory handling.
 FP_READDIR_EOF_ERRNO
-FP_DIRENT_FLAT_LAYOUT
 
 AC_OUTPUT