diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-22 12:01:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-22 12:01:59 +0000 |
commit | 6cd0a90b523c594c75a5cb517f8081390e9e88df (patch) | |
tree | b8bd68d952bc7213f26acd5ffc970a1bc9b818f7 | |
parent | d5bb877fba1a212968fad74cf74a9dfda5401500 (diff) |
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.
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
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 <stdio.h> +#include "$srcdir/include/curl/curl.h" +]) AC_CHECK_TYPE(long long, [AC_DEFINE(HAVE_LONGLONG, 1, [if your compiler supports 'long long'])]) |