summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-20 12:11:43 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-20 12:11:43 -0800
commiteeae8f6a501e5fb90ca2a90556d8c6bf9679eb91 (patch)
tree35f33bec14447f4bf491264c4d624f8e44e1aa9b
parent64b9f4e080694bc8bfec14504489f43a3b005da4 (diff)
downloadxorg-app-xauth-eeae8f6a501e5fb90ca2a90556d8c6bf9679eb91.tar.gz
configure: Use AC_SYS_LARGEFILE to enable large file support
While .Xauthority files should never be more than 2gb in size, they may be stored on filesystems with large inodes. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index db7aae5..65c074a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,8 +43,13 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
+# Checks for header files.
AC_CHECK_HEADERS([net/errno.h])
+# Checks for typedefs, structures, and compiler characteristics.
+AC_SYS_LARGEFILE
+
+# Checks for library functions.
AC_CHECK_FUNCS([reallocarray strlcpy])
# Checks for pkg-config packages