1 # Enable large inode numbers on systems normally without them. -*- Autoconf -*-
3 # Copyright (C) 2011 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # written by Paul Eggert
10 AC_DEFUN([gl_SYS_LARGE_INODE],
12 dnl Many systems enable large inodes if you enable large offsets.
13 AC_REQUIRE([AC_SYS_LARGEFILE])
15 dnl Some Mac OS X variants won't access large inode numbers by default.
16 dnl Defining _DARWIN_USE_64_BIT_INODE fixes this. See
17 dnl <http://developer.apple.com/library/mac/releasenotes/Darwin/SymbolVariantsRelNotes>.
19 dnl The simplest thing is to define this symbol everywhere.
20 dnl That helps on the affected systems, and doesn't hurt anywhere.
21 AC_DEFINE([_DARWIN_USE_64_BIT_INODE], [1],
22 [Define if you want to use large inode numbers
23 when running on Mac OS X 10.5 or later.])