blob: 60be8bfa343f41f734d5bd6c7dbc35b09764c38e [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From f62d3e5cc1d4e416b97778059f0b3c20d777a4c2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 21 Dec 2022 17:40:11 -0800
4Subject: [PATCH] configure: Use AC_SYS_LARGERFILE autoconf macro
5
6Helps define largefile support on relevant platforms
7
8Upstream-Status: Submitted [https://lore.kernel.org/linux-xfs/20221222015327.939932-1-raj.khem@gmail.com/T/#t]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 configure.ac | 3 +++
12 1 file changed, 3 insertions(+)
13
14diff --git a/configure.ac b/configure.ac
15index 5a6bf185..a6f556ec 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -10,6 +10,9 @@ AC_PROG_INSTALL
19 LT_INIT
20
21 AC_PROG_CC
22+
23+AC_SYS_LARGEFILE
24+
25 AC_ARG_VAR(BUILD_CC, [C compiler for build tools])
26 if test "${BUILD_CC+set}" != "set"; then
27 if test $cross_compiling = no; then