diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-01-16 09:27:15 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-01-16 09:27:37 -0800 |
commit | 33545d77b236dc4a49e91745ecf63d2de92163c5 (patch) | |
tree | 4396cf63fdb20718dddc7347f48ffda378e1e86c /lib | |
parent | ce48964f646970abd69061590b1b82454780e3e5 (diff) | |
download | autoconf-33545d77b236dc4a49e91745ecf63d2de92163c5.tar.gz |
AC_SYS_LARGEFILE: port better to Mac OS X 10.5.
* lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Use AC_DEFINE, not
AH_VERBATIM, to define _DARWIN_USE_64_BIT_INODE, to avoid problems
with ino_t size being different for configuration time versus
build/run time. Problem reported by PHO in
<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00040.html>.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/autoconf/specific.m4 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index bbfa24a9..0d173f20 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -168,11 +168,8 @@ if test "$enable_largefile" != no; then [_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]) + AC_DEFINE([_DARWIN_USE_64_BIT_INODE], [1], + [Enable large inode numbers on Mac OS X 10.5.]) fi ])# AC_SYS_LARGEFILE |