1*517393d9SAndrew GeisslerFrom f62d3e5cc1d4e416b97778059f0b3c20d777a4c2 Mon Sep 17 00:00:00 2001
2*517393d9SAndrew GeisslerFrom: Khem Raj <raj.khem@gmail.com>
3*517393d9SAndrew GeisslerDate: Wed, 21 Dec 2022 17:40:11 -0800
4*517393d9SAndrew GeisslerSubject: [PATCH] configure: Use AC_SYS_LARGERFILE autoconf macro
5*517393d9SAndrew Geissler
6*517393d9SAndrew GeisslerHelps define largefile support on relevant platforms
7*517393d9SAndrew Geissler
8*517393d9SAndrew GeisslerUpstream-Status: Submitted [https://lore.kernel.org/linux-xfs/20221222015327.939932-1-raj.khem@gmail.com/T/#t]
9*517393d9SAndrew GeisslerSigned-off-by: Khem Raj <raj.khem@gmail.com>
10*517393d9SAndrew Geissler---
11*517393d9SAndrew Geissler configure.ac | 3 +++
12*517393d9SAndrew Geissler 1 file changed, 3 insertions(+)
13*517393d9SAndrew Geissler
14*517393d9SAndrew Geisslerdiff --git a/configure.ac b/configure.ac
15*517393d9SAndrew Geisslerindex 5a6bf185..a6f556ec 100644
16*517393d9SAndrew Geissler--- a/configure.ac
17*517393d9SAndrew Geissler+++ b/configure.ac
18*517393d9SAndrew Geissler@@ -10,6 +10,9 @@ AC_PROG_INSTALL
19*517393d9SAndrew Geissler LT_INIT
20*517393d9SAndrew Geissler
21*517393d9SAndrew Geissler AC_PROG_CC
22*517393d9SAndrew Geissler+
23*517393d9SAndrew Geissler+AC_SYS_LARGEFILE
24*517393d9SAndrew Geissler+
25*517393d9SAndrew Geissler AC_ARG_VAR(BUILD_CC, [C compiler for build tools])
26*517393d9SAndrew Geissler if test "${BUILD_CC+set}" != "set"; then
27*517393d9SAndrew Geissler   if test $cross_compiling = no; then
28