diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-09-04 17:52:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 17:52:51 (GMT) |
commit | 5ce1063345419407871c51c604d2553777bc6cca (patch) | |
tree | 1213a5ea429475e6035688fe6a6d2e8a788fe0eb /configure.ac | |
parent | 3239cf1ae9d60b0810f57498b0a514004f36a6bf (diff) | |
download | cpython-5ce1063345419407871c51c604d2553777bc6cca.zip cpython-5ce1063345419407871c51c604d2553777bc6cca.tar.gz cpython-5ce1063345419407871c51c604d2553777bc6cca.tar.bz2 |
remove check for bug last seem in Solaris 9 (#3285)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac index 863d942..5786525 100644 --- a/configure.ac +++ b/configure.ac @@ -2168,25 +2168,7 @@ if test "$ac_cv_has_le64toh" = "yes"; then AC_DEFINE(HAVE_HTOLE64, 1, [Define this if you have le64toh()]) fi -# Enabling LFS on Solaris (2.6 to 9) with gcc 2.95 triggers a bug in -# the system headers: If _XOPEN_SOURCE and _LARGEFILE_SOURCE are -# defined, but the compiler does not support pragma redefine_extname, -# and _LARGEFILE64_SOURCE is not defined, the headers refer to 64-bit -# structures (such as rlimit64) without declaring them. As a -# work-around, disable LFS on such configurations - use_lfs=yes -AC_MSG_CHECKING(Solaris LFS bug) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#define _LARGEFILE_SOURCE 1 -#define _FILE_OFFSET_BITS 64 -#include <sys/resource.h> -]], [[struct rlimit foo;]])],[sol_lfs_bug=no],[sol_lfs_bug=yes]) -AC_MSG_RESULT($sol_lfs_bug) -if test "$sol_lfs_bug" = "yes"; then - use_lfs=no -fi - # Don't use largefile support for GNU/Hurd case $ac_sys_system in GNU*) use_lfs=no |