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
This commit is contained in:
Daniel Stenberg 2008-08-22 07:58:30 +00:00
parent f07c3171e3
commit a6a2174bf7
1 changed files with 5 additions and 0 deletions

View File

@ -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