Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 1 | From 470399f3636c412b74f9daf6ae430b13c3126f02 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 15 Dec 2022 15:54:27 -0800 |
| 4 | Subject: [PATCH] configure: Use autoconf macro to detect largefile support |
| 5 | |
| 6 | Adds --enable-largefile/--disable-largefile configure knobs |
| 7 | where default is to detect the support |
| 8 | |
| 9 | Upstream-Status: Submitted [https://github.com/strace/strace/pull/230] |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | configure.ac | 2 ++ |
| 13 | 1 file changed, 2 insertions(+) |
| 14 | |
| 15 | diff --git a/configure.ac b/configure.ac |
| 16 | index 4797b42dd..7d57fb254 100644 |
| 17 | --- a/configure.ac |
| 18 | +++ b/configure.ac |
| 19 | @@ -43,6 +43,8 @@ AC_PROG_INSTALL |
| 20 | AC_PROG_RANLIB |
| 21 | AC_PROG_LN_S |
| 22 | |
| 23 | +AC_SYS_LARGEFILE |
| 24 | + |
| 25 | AC_USE_SYSTEM_EXTENSIONS |
| 26 | AX_CODE_COVERAGE |
| 27 | |