From b3368a85da4f4d19cf8d25451629343eee3b16be Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Mon, 28 Nov 2011 15:35:16 +0000 Subject: [PATCH] [trunk] add support for Large File in autoconf --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index e1de3c3b..142e31f8 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,14 @@ AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"]) AM_CONDITIONAL([HAVE_DARWIN], [test "x${have_darwin}" = "xyes"]) +# Define the necessary macros to make off_t a 64 bits type +AC_SYS_LARGEFILE + +# If the `fseeko' function is available, define `HAVE_FSEEKO'. Define +# `_LARGEFILE_SOURCE' if necessary. +AC_FUNC_FSEEKO + + ### Additional options to configure # debug -- 2.40.0