]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Sort of hackish approach to get the off_t size before large file support
authorDaniel Stenberg <daniel@haxx.se>
Fri, 22 Aug 2008 07:58:30 +0000 (07:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 Aug 2008 07:58:30 +0000 (07:58 +0000)
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

index 76680517fc61a6da5edfee2c8203f23a0154a6db..2959b68c83db1dc8554fd63b29f3f447f89280db 100644 (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