From 4cab35d1a691009b43fb0c47574ae0e4baa0b65d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 22 Sep 2006 11:13:12 +0000 Subject: [PATCH] * Build with -D_FILE_OFFSET_BITS=64 to support files >= 2^31 bytes (NIX-22). --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 5e3c7f01a..ac9b54ddd 100644 --- a/configure.ac +++ b/configure.ac @@ -79,6 +79,11 @@ AC_ENABLE_SHARED AC_PROG_LIBTOOL +# Use 64-bit file system calls so that we can support files > 2 GiB. +CFLAGS="-D_FILE_OFFSET_BITS=64 $CFLAGS" +CXXFLAGS="-D_FILE_OFFSET_BITS=64 $CXXFLAGS" + + # Check for pubsetbuf. AC_MSG_CHECKING([for pubsetbuf]) AC_LANG_PUSH(C++)