diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-08-22 07:58:30 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-08-22 07:58:30 +0000 |
commit | a6a2174bf7306634724731616a70e039b98996a4 (patch) | |
tree | 6acdc5ae1c19b9db7780ec34c4261cee713b0007 | |
parent | f07c3171e31b56fd8f116d57b5178ba8a6a2b74f (diff) |
Sort of hackish approach to get the off_t size before large file support
is enabled (or skipped). Thanks to Jamie Lokier for the nice work-around the
cached-check-problem: http://curl.haxx.se/mail/lib-2008-08/0331.html
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 76680517f..2959b68c8 100644 --- a/configure.ac +++ b/configure.ac @@ -141,6 +141,11 @@ CURL_CHECK_AIX_ALL_SOURCE dnl Our configure and build reentrant settings CURL_CONFIGURE_REENTRANT + +dnl check for off_t size once before enabling large files +AC_CHECK_SIZEOF([off_t_before_largefile], [], [AC_INCLUDES_DEFAULT + typedef off_t off_t_before_largefile;]) + dnl check for how to do large files AC_SYS_LARGEFILE |