autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/3] * lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to, Mac


From: Paul Eggert
Subject: [PATCH 2/3] * lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to, Mac OS X 10.5
Date: Sun, 31 Jul 2011 00:58:27 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11

by defining _DARWIN_USE_64_BIT_INODE.  Imported from gnulib.
---
 ChangeLog                |    5 +++++
 lib/autoconf/specific.m4 |    6 ++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2301762..d1b4a2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-30  Paul Eggert  <address@hidden>
+
+    * lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to Mac OS X 10.5
+    by defining _DARWIN_USE_64_BIT_INODE.  Imported from gnulib.
+
 2011-07-22  Paul Eggert  <address@hidden>
 
     * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Quote cleanly.
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4
index 5a9ca94..2891bfb 100644
--- a/lib/autoconf/specific.m4
+++ b/lib/autoconf/specific.m4
@@ -167,6 +167,12 @@ if test "$enable_largefile" != no; then
       [Define for large files, on AIX-style hosts.],
       [_AC_SYS_LARGEFILE_TEST_INCLUDES])
   fi
+
+  AH_VERBATIM([_DARWIN_USE_64_BIT_INODE],
+[/* Enable large inode numbers on Mac OS X 10.5.  */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif])
 fi
 ])# AC_SYS_LARGEFILE
 
-- 
1.7.4.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]