From: Daniel Stenberg Date: Fri, 22 Aug 2008 07:58:30 +0000 (+0000) Subject: Sort of hackish approach to get the off_t size before large file support X-Git-Tag: curl-7_19_0~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6a2174bf7306634724731616a70e039b98996a4;p=thirdparty%2Fcurl.git 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 --- diff --git a/configure.ac b/configure.ac index 76680517fc..2959b68c83 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