From a6a2174bf7306634724731616a70e039b98996a4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 22 Aug 2008 07:58:30 +0000 Subject: [PATCH] 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 --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) 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