summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Malik <julien.malik@paraiso.me>2011-11-28 15:35:16 +0000
committerJulien Malik <julien.malik@paraiso.me>2011-11-28 15:35:16 +0000
commitb3368a85da4f4d19cf8d25451629343eee3b16be (patch)
tree00f1aa114a0414522604940d3aba619423fd23dd
parentdefe0b25ddee7e815d4ababd8fb99a77214605c5 (diff)
[trunk] add support for Large File in autoconf
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
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