From 69d019967295c5b15c6530a74bd61e13a23acc2f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 7 Mar 2016 15:36:59 -0500 Subject: [PATCH] enable transparent large file support Historically LFS mattered only to open/read large files. A few programs here use open/seek, but not generally on files that are large. However, LFS also applies to stat which procps does in a bunch of places -- some filesystems have 64bit inodes and attempts to do a 32bit stat will throw an error. Enable transparent LFS everywhere to avoid this. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d47ef5a9..3711d3bd 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,8 @@ AC_CONFIG_SRCDIR([free.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. -AC_USE_SYSTEM_EXTENSIONS(_GNU_SOURCE) +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AC_PROG_AWK AC_PROG_CC AC_PROG_CC_STDC