From 6cd0a90b523c594c75a5cb517f8081390e9e88df Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 22 Jan 2004 12:01:59 +0000 Subject: [PATCH] Instead of checking the off_t size, we use the source dir version of the curl.h header and then check for the size of the curl_off_t type. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index afe883efd..d5d63655a 100644 --- a/configure.ac +++ b/configure.ac @@ -901,7 +901,10 @@ AC_C_CONST AC_TYPE_SIZE_T AC_HEADER_TIME -AC_CHECK_SIZEOF(off_t) +AC_CHECK_SIZEOF(curl_off_t, ,[ +#include +#include "$srcdir/include/curl/curl.h" +]) AC_CHECK_TYPE(long long, [AC_DEFINE(HAVE_LONGLONG, 1, [if your compiler supports 'long long'])])