Mercurial > hg > xemacs-beta
comparison configure.ac @ 5727:86d33ddc7fd6
Avoid EOVERFLOW from stat() calls due to overflowing inode numbers.
The btrfs filesystem now uses 64-bit inode numbers even on 32-bit systems.
This can lead to spurious stat() failures, where EOVERFLOW is returned because
the inode number does not fit into the 32-bit stat structure, even when the
caller is not interested in the inode number. This patch builds with
_FILE_OFFSET_BITS == 64 when possible, and deals with integers that may be
too large to fit into a Lisp fixnum. For more information, see xemacs-patches
message <CAHCOHQk_mPM6WgFChBsGafqhuazep6VED7swFoqfFXOV1r8org@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 06 Mar 2013 08:32:17 -0700 |
parents | 1af0602ff9a2 |
children | 3192994c49ca |
comparison
equal
deleted
inserted
replaced
5726:179f4a9201b5 | 5727:86d33ddc7fd6 |
---|---|
2719 AC_CHECK_SIZEOF(double) | 2719 AC_CHECK_SIZEOF(double) |
2720 | 2720 |
2721 dnl check for long file names | 2721 dnl check for long file names |
2722 AC_SYS_LONG_FILE_NAMES | 2722 AC_SYS_LONG_FILE_NAMES |
2723 | 2723 |
2724 dnl check for large file support | |
2725 AC_SYS_LARGEFILE | |
2726 AC_FUNC_FSEEKO | |
2727 AC_CHECK_SIZEOF(off_t) | |
2728 | |
2724 dnl -lm is required for floating point support, among other things | 2729 dnl -lm is required for floating point support, among other things |
2725 AC_CHECK_FUNC(sin, ,AC_CHECK_LIB(m, sin)) | 2730 AC_CHECK_FUNC(sin, ,AC_CHECK_LIB(m, sin)) |
2726 | 2731 |
2727 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <math.h>], | 2732 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <math.h>], |
2728 [return atanh(1.0) + asinh(1.0) + acosh(1.0); ])], | 2733 [return atanh(1.0) + asinh(1.0) + acosh(1.0); ])], |