From 8f2575b26ee34caddcd03464a53dc88ac539c98c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 9 Jul 2007 16:40:50 -0400 Subject: Add AC_SYS_LARGEFILE to configure.ac This defines _FILE_OFFSET_BITS == 64, which makes stat calls transparently use stat64, etc. This allows us to support large files, such as packages over 1 GB in size. libarchive was already correctly compiled with this macro. Signed-off-by: Dan McGee --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9a439346..9af8273e 100644 --- a/configure.ac +++ b/configure.ac @@ -121,6 +121,9 @@ AC_CHECK_FUNCS([getcwd gettimeofday memmove memset mkdir realpath regcomp \ rmdir setenv setlocale sqrt strcasecmp strchr strdup strerror \ strndup strrchr strstr strverscmp uname mtrace geteuid]) +# Enable large file support if available +AC_SYS_LARGEFILE + # Host-dependant flags case "${host}" in *-*-cygwin*) -- cgit v1.2.3-24-g4f1b